]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rv: Fix __user specifier usage in extract_params()
authorGabriele Monaco <gmonaco@redhat.com>
Mon, 1 Jun 2026 15:38:28 +0000 (17:38 +0200)
committerGabriele Monaco <gmonaco@redhat.com>
Wed, 3 Jun 2026 10:33:23 +0000 (12:33 +0200)
commit4793e8a6e20e4c17ed4e755ea40e5912cc3539af
tree7a75318e8da3834fbb3ade6bba241bd898bef7a3
parente43ffb69e0438cddd72aaa30898b4dc446f664f8
rv: Fix __user specifier usage in extract_params()

The attributes variables extracted from syscalls in the helper are both
defined with the __user specifier although only the actual pointer to
user data should be marked.

Remove the __user specifier from attr.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202604150820.Ny143u6X-lkp@intel.com
Fixes: b133207deb72 ("rv: Add nomiss deadline monitor")
Reviewed-by: Wen Yang <wen.yang@linux.dev>
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20260601153840.124372-2-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
kernel/trace/rv/monitors/deadline/deadline.h