Re: [PATCH v2 06/13] parisc: use generic sys_fanotify_mark implementation

Arnd Bergmann
2024-06-29T21:06:04Z

On Sat, Jun 29, 2024, at 19:46, Guenter Roeck wrote:

> Building parisc:allmodconfig ... failed
> --------------
> Error log:
> 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 *)'}
> 248 | asmlinkage long
> sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \
> | ^~~
> include/linux/syscalls.h:234:9: note: in expansion of macro
> '__SYSCALL_DEFINEx'
> 234 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
> | ^~~~~~~~~~~~~~~~~

Thanks for the report, this has escaped my build testing
since I had fanotify disabled on the parisc build.

Sent a fix now and queued it as a fix in the asm-generic
tree:

https://lore.kernel.org/lkml/20240629210359.94426-1-arnd@kernel.org/T/#u

Arnd