android_kernel_motorola_sm6375/ipc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tobias Klauser 973f95c571
ipc: adjust proc_ipc_sem_dointvec definition to match prototype
Commit 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler")
changed ctl_table.proc_handler to take a kernel pointer.  Adjust the
signature of proc_ipc_sem_dointvec to match ctl_table.proc_handler which
fixes the following sparse error/warning:

  ipc/ipc_sysctl.c:94:47: warning: incorrect type in argument 3 (different address spaces)
  ipc/ipc_sysctl.c:94:47:    expected void *buffer
  ipc/ipc_sysctl.c:94:47:    got void [noderef] __user *buffer
  ipc/ipc_sysctl.c:194:35: warning: incorrect type in initializer (incompatible argument 3 (different address spaces))
  ipc/ipc_sysctl.c:194:35:    expected int ( [usertype] *proc_handler )( ... )
  ipc/ipc_sysctl.c:194:35:    got int ( * )( ... )

Fixes: 32927393dc1c ("sysctl: pass kernel pointers to ->proc_handler")
Change-Id: I0d5e94443a5bdb3d08beb56c36dded246995a872
Signed-off-by: Tobias Klauser <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Alexander Viro <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Signed-off-by: Tashfin Shakeer Rhythm <[email protected]>
2026-02-01 20:37:47 -08:00
..
compat.c
ipc_sysctl.c ipc: adjust proc_ipc_sem_dointvec definition to match prototype 2026-02-01 20:37:47 -08:00
Makefile
mq_sysctl.c BACKPORT: sysctl: pass kernel pointers to ->proc_handler 2025-12-23 13:36:15 -08:00
mqueue.c
msg.c
msgutil.c
namespace.c
sem.c
shm.c ipc: fix to protect IPCS lookups using RCU 2025-06-27 11:02:52 +01:00
syscall.c
util.c
util.h