Skip to content

Commit bea34c4

Browse files
Rtoaxpevik
authored andcommitted
fanotify21: fix compile complain
fanotify21.c:42:1: warning: useless storage class specifier in empty declaration 42 | }; | ^ Fixes: 23bf384 ("fanotify: Fix various checkparse warnings") Closes: #977 Reviewed-by: Petr Vorel <[email protected]> Reviewed-by: Cyril Hrubis <[email protected]> Signed-off-by: Rong Tao <[email protected]>
1 parent 1050aeb commit bea34c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcases/kernel/syscalls/fanotify/fanotify21.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#define MOUNT_PATH "fs_mnt"
3434
#define TEST_FILE MOUNT_PATH "/testfile"
3535

36-
static struct pidfd_fdinfo_t {
36+
struct pidfd_fdinfo_t {
3737
int pos;
3838
int flags;
3939
int mnt_id;

0 commit comments

Comments
 (0)