Arnd Bergmann
f910aee90b
syscalls: fix sys_fanotify_mark prototype
...
[ Upstream commit 63e2f40c9e ]
My earlier fix missed an incorrect function prototype that shows up on
native 32-bit builds:
In file included from fs/notify/fanotify/fanotify_user.c:14:
include/linux/syscalls.h:248:25: error: conflicting types for 'sys_fanotify_mark'; have 'long int(int, unsigned int, u32, u32, int, const char *)' {aka 'long int(int, unsigned int, unsigned int, unsigned int, int, const char *)'}
1924 | SYSCALL32_DEFINE6(fanotify_mark,
| ^~~~~~~~~~~~~~~~~
include/linux/syscalls.h:862:17: note: previous declaration of 'sys_fanotify_mark' with type 'long int(int, unsigned int, u64, int, const char *)' {aka 'long int(int, unsigned int, long long unsigned int, int, const char *)'}
On x86 and powerpc, the prototype is also wrong but hidden in an #ifdef,
so it never caused problems.
Add another alternative declaration that matches the conditional function
definition.
Fixes: 403f17a330 ("parisc: use generic sys_fanotify_mark implementation")
Cc: stable@vger.kernel.org
Reported-by: Guenter Roeck <linux@roeck-us.net >
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org >
Reported-by: kernel test robot <lkp@intel.com >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2024-07-05 09:31:59 +02:00
..
2023-07-19 16:21:11 +02:00
2024-03-15 10:48:13 -04:00
2024-03-06 14:45:14 +00:00
2023-07-19 16:22:06 +02:00
2024-06-12 11:03:39 +02:00
2023-06-28 11:12:35 +02:00
2024-02-23 09:12:40 +01:00
2023-05-11 23:03:40 +09:00
2023-11-20 11:52:08 +01:00
2024-06-12 11:03:19 +02:00
2024-06-16 13:41:35 +02:00
2024-02-23 09:12:49 +01:00
2024-04-03 15:19:33 +02:00
2024-05-17 11:55:54 +02:00
2023-05-30 14:03:21 +01:00
2024-06-21 14:35:51 +02:00
2024-05-17 11:55:56 +02:00
2024-02-23 09:12:51 +01:00
2023-06-21 16:00:51 +02:00
2024-05-17 11:56:10 +02:00
2024-05-17 11:55:54 +02:00
2024-04-27 17:07:12 +02:00
2023-09-23 11:11:00 +02:00
2024-06-12 11:03:08 +02:00
2023-05-30 14:03:22 +01:00
2023-09-13 09:43:03 +02:00
2023-05-24 17:32:36 +01:00
2024-01-31 16:17:00 -08:00
2024-01-25 15:27:42 -08:00
2023-07-19 16:21:58 +02:00
2024-06-12 11:03:08 +02:00
2023-07-23 13:49:21 +02:00
2023-05-11 23:03:00 +09:00
2023-07-19 16:20:55 +02:00
2024-01-25 15:27:30 -08:00
2023-07-19 16:22:15 +02:00
2024-04-27 17:07:17 +02:00
2023-07-19 16:21:17 +02:00
2024-01-10 17:10:29 +01:00
2024-02-23 09:12:51 +01:00
2023-10-06 14:57:04 +02:00
2024-03-06 14:45:19 +00:00
2024-02-23 09:12:51 +01:00
2024-01-25 15:27:37 -08:00
2023-08-30 16:11:12 +02:00
2024-07-05 09:31:59 +02:00
2024-02-23 09:12:51 +01:00
2024-05-17 11:56:20 +02:00
2024-02-23 09:12:51 +01:00
2024-02-23 09:12:28 +01:00
2024-06-12 11:03:34 +02:00
2024-03-15 10:48:21 -04:00
2024-04-03 15:19:28 +02:00
2023-12-13 18:39:03 +01:00
2023-08-30 16:11:10 +02:00
2023-12-20 17:00:20 +01:00
2023-05-17 11:53:40 +02:00
2024-01-01 12:39:08 +00:00
2024-06-12 11:03:21 +02:00
2024-04-10 16:28:32 +02:00
2023-05-24 17:32:31 +01:00
2024-01-01 12:39:05 +00:00
2024-03-26 18:21:02 -04:00
2023-09-23 11:11:08 +02:00
2024-05-17 11:56:16 +02:00
2024-02-16 19:06:24 +01:00
2024-03-06 14:45:18 +00:00
2024-05-02 16:29:29 +02:00
2023-11-28 17:07:18 +00:00
2024-01-05 15:18:38 +01:00
2024-03-26 18:20:23 -04:00
2024-01-10 17:10:30 +01:00
2024-02-23 09:12:51 +01:00
2024-07-05 09:31:47 +02:00
2023-10-25 12:03:12 +02:00
2024-03-06 14:45:16 +00:00
2023-11-28 17:06:54 +00:00
2024-05-17 11:56:07 +02:00
2024-04-03 15:19:42 +02:00
2024-01-10 17:10:33 +01:00
2023-12-03 07:32:07 +01:00
2023-07-01 13:16:22 +02:00
2024-01-25 15:27:22 -08:00
2024-02-16 19:06:30 +01:00
2024-05-17 11:55:52 +02:00
2024-05-17 11:55:52 +02:00
2023-11-20 11:52:04 +01:00
2024-05-17 11:56:08 +02:00
2024-06-21 14:35:40 +02:00
2023-11-20 11:52:16 +01:00
2024-07-05 09:31:48 +02:00
2023-09-13 09:43:03 +02:00
2023-10-06 14:56:41 +02:00
2023-12-20 17:00:16 +01:00
2024-02-23 09:12:38 +01:00
2023-09-23 11:11:09 +02:00
2023-10-06 14:57:03 +02:00
2024-03-26 18:20:22 -04:00
2024-03-26 18:20:22 -04:00
2024-05-25 16:21:31 +02:00
2023-12-13 18:39:17 +01:00
2023-08-23 17:52:20 +02:00
2023-09-13 09:42:46 +02:00
2023-07-19 16:22:00 +02:00
2023-10-10 22:00:37 +02:00
2024-02-05 20:12:49 +00:00
2023-12-08 08:51:20 +01:00
2024-04-17 11:18:28 +02:00
2024-01-20 11:50:06 +01:00
2023-10-25 12:03:16 +02:00
2024-01-01 12:38:52 +00:00
2024-06-27 13:46:22 +02:00
2023-09-13 09:42:53 +02:00
2024-01-01 12:38:58 +00:00
2023-04-26 14:28:41 +02:00
2023-12-13 18:39:17 +01:00
2024-04-03 15:19:51 +02:00
2024-01-31 16:17:00 -08:00
2024-01-31 16:17:01 -08:00
2023-10-19 23:08:56 +02:00
2024-03-01 13:26:36 +01:00
2023-10-06 14:57:03 +02:00
2023-09-19 12:28:02 +02:00
2024-04-03 15:19:44 +02:00
2023-12-20 17:00:26 +01:00
2024-05-17 11:55:51 +02:00
2023-10-10 22:00:35 +02:00
2024-02-05 20:13:02 +00:00
2024-06-27 13:46:23 +02:00
2024-01-05 15:18:40 +01:00
2024-03-26 18:20:52 -04:00
2023-05-30 14:03:22 +01:00
2024-02-23 09:12:51 +01:00
2024-01-05 15:18:29 +01:00
2024-01-10 17:10:27 +01:00
2023-11-20 11:51:55 +01:00
2024-01-25 15:27:51 -08:00
2024-03-06 14:45:08 +00:00
2024-03-06 14:45:17 +00:00
2023-10-06 14:56:31 +02:00
2024-04-03 15:19:34 +02:00
2023-10-15 18:32:41 +02:00
2023-09-13 09:42:48 +02:00
2023-09-13 09:42:22 +02:00
2023-07-19 16:21:08 +02:00
2024-06-12 11:03:17 +02:00
2024-07-05 09:31:50 +02:00
2024-01-25 15:27:20 -08:00
2023-06-14 11:15:29 +02:00
2024-01-10 17:10:32 +01:00
2024-05-17 11:56:23 +02:00
2024-04-27 17:07:18 +02:00
2024-02-23 09:12:51 +01:00
2023-10-25 12:03:15 +02:00
2024-01-31 16:17:09 -08:00
2023-05-24 17:32:43 +01:00
2024-03-26 18:20:28 -04:00
2023-05-11 23:03:00 +09:00
2023-11-08 14:11:02 +01:00
2024-02-23 09:12:51 +01:00
2024-06-12 11:03:21 +02:00
2024-01-05 15:18:40 +01:00
2023-07-27 08:50:38 +02:00
2023-07-27 08:50:38 +02:00
2023-11-28 17:07:03 +00:00
2023-10-19 23:08:50 +02:00
2023-10-19 23:08:50 +02:00
2023-08-30 16:11:12 +02:00
2023-07-19 16:22:11 +02:00
2024-04-13 13:05:25 +02:00
2024-04-13 13:05:07 +02:00
2023-10-06 14:57:03 +02:00
2023-12-13 18:39:17 +01:00
2024-04-03 15:19:35 +02:00
2024-01-31 16:17:02 -08:00
2024-02-23 09:12:51 +01:00
2023-08-30 16:11:11 +02:00
2024-04-10 16:28:34 +02:00
2024-01-31 16:17:00 -08:00
2023-10-06 14:56:41 +02:00
2023-07-23 13:49:43 +02:00
2024-06-21 14:36:00 +02:00
2023-07-19 16:21:54 +02:00
2024-06-12 11:03:32 +02:00
2024-05-17 11:55:56 +02:00
2024-05-17 11:56:19 +02:00
2024-06-16 13:41:42 +02:00
2024-03-01 13:26:36 +01:00
2024-02-23 09:12:51 +01:00
2024-01-10 17:10:27 +01:00
2024-02-23 09:12:51 +01:00
2023-12-13 18:39:08 +01:00
2023-11-28 17:06:57 +00:00
2024-03-01 13:26:32 +01:00
2024-05-17 11:56:24 +02:00
2024-04-27 17:07:10 +02:00
2024-07-05 09:31:59 +02:00
2023-11-28 17:07:08 +00:00
2023-09-19 12:27:59 +02:00
2023-07-27 08:50:49 +02:00
2023-05-11 23:03:01 +09:00
2024-05-17 11:56:13 +02:00
2023-08-16 18:27:20 +02:00
2023-11-28 17:07:23 +00:00
2024-06-27 13:46:17 +02:00
2024-04-17 11:18:23 +02:00
2024-04-10 16:28:27 +02:00
2023-05-30 14:03:20 +01:00
2023-11-20 11:52:04 +01:00
2024-04-03 15:19:46 +02:00
2023-08-23 17:52:35 +02:00
2023-11-20 11:52:17 +01:00
2023-05-11 23:03:28 +09:00
2023-07-19 16:22:10 +02:00
2023-11-28 17:06:55 +00:00