[LTP] [PATCH 4/9] syscalls/fanotify10: Avoid undesired event in test
Petr Vorel
pvorel@suse.cz
Tue Sep 6 19:09:05 CEST 2022
Hi all,
> +++ b/testcases/kernel/syscalls/fanotify/fanotify10.c
> @@ -66,6 +66,7 @@ static unsigned int fanotify_class[] = {
> #define GROUPS_PER_PRIO 3
> static int fd_notify[NUM_CLASSES][GROUPS_PER_PRIO];
> +static int fd_syncfs;
> static char event_buf[EVENT_BUF_LEN];
> static int exec_events_unsupported;
> @@ -342,14 +343,11 @@ static void show_fanotify_marks(int fd)
> }
> }
> -static void drop_caches(const char *path)
Note for myself to add void here before merge
> +static void drop_caches()
> {
fanotify10.c: In function ‘drop_caches’:
fanotify10.c:352:13: warning: old-style function definition [-Wold-style-definition]
352 | static void drop_caches()
Kind regards,
Petr
More information about the ltp
mailing list