Thread (14 messages) 14 messages, 5 authors, 2024-08-16

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

From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2024-06-29 21:06:04
Also in: linux-arch, linux-fsdevel, linux-mips, linux-s390, linux-sh, lkml, sparclinux

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 (local)

     Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help