Skip to content

Commit 6dfd64b

Browse files
Andreagit97hbrueckner
authored andcommitted
cleanup: linting
Signed-off-by: Andrea Terzolo <[email protected]> Co-authored-by: Hendrik Brueckner <[email protected]>
1 parent 944c7e5 commit 6dfd64b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

test/drivers/test_suites/syscall_exit_suite/io_uring_register_x.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ TEST(SyscallExit, io_uring_registerX)
5151
/* Parameter 5: nr_args (type: PT_UINT32) */
5252
evt_test->assert_numeric_param(5, (uint32_t)nr_args);
5353

54-
5554
/*=============================== ASSERT PARAMETERS ===========================*/
5655

5756
evt_test->assert_num_params_pushed(5);

test/drivers/test_suites/syscall_exit_suite/io_uring_setup_x.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ TEST(SyscallExit, io_uring_setupX)
1212

1313
/*=============================== TRIGGER SYSCALL ===========================*/
1414

15-
/* There could be cases in which the structure `io_uring_params`
16-
* doesn't have the filed `feature`, so define it to `0` as default.
17-
*/
18-
uint32_t expected_features = 0;
15+
/* There could be cases in which the structure `io_uring_params`
16+
* doesn't have the filed `feature`, so define it to `0` as default.
17+
*/
18+
uint32_t expected_features = 0;
1919
uint32_t entries = 4;
2020
struct io_uring_params params = {0};
2121
params.sq_entries = 5;
@@ -28,7 +28,7 @@ TEST(SyscallExit, io_uring_setupX)
2828
params.sq_thread_idle = 8;
2929
#ifdef IORING_FEAT_SINGLE_MMAP
3030
params.features = IORING_FEAT_NODROP;
31-
expected_features = PPM_IORING_FEAT_NODROP;
31+
expected_features = PPM_IORING_FEAT_NODROP;
3232
#endif
3333
assert_syscall_state(SYSCALL_FAILURE, "io_uring_setup", syscall(__NR_io_uring_setup, entries, &params));
3434
int64_t errno_value = -errno;

0 commit comments

Comments
 (0)