]> www.infradead.org Git - users/jedix/linux-maple.git/commit
um: fix sparse warnings from regset refactor
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 31 Oct 2024 14:20:16 +0000 (15:20 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 7 Nov 2024 16:34:50 +0000 (17:34 +0100)
commit32f1fde0b631b36417356f7896d5bc18c44886d3
tree66c50997507fb2a23dd74bd7ef1ce1c1c283f190
parent0b0ad2541d8e465c82b69202bbc2b1efcac6b73d
um: fix sparse warnings from regset refactor

Some variables were not tagged with __user and another was not marked as
static even though it should be.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410280655.gOlEFwdG-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202410281821.WSPsAwq7-lkp@intel.com/
Fixes: 3f17fed21491 ("um: switch to regset API and depend on XSTATE")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20241031142017.430420-1-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/x86/um/ptrace.c
arch/x86/um/signal.c