]> git.ipfire.org Git - thirdparty/linux.git/commit
arm_mpam: resctrl: Make resctrl_mon_ctx_waiters static
authorBen Horgan <ben.horgan@arm.com>
Tue, 14 Apr 2026 13:27:58 +0000 (14:27 +0100)
committerJames Morse <james.morse@arm.com>
Fri, 17 Apr 2026 16:48:07 +0000 (17:48 +0100)
commit4d5bbbafc170eb21474a37d844211fce6b0f3c51
treee0cd4817b0d38e5018073dde6d7b310e235724fe
parent67c0a487efa542cca9477ea84915db2e091f98d0
arm_mpam: resctrl: Make resctrl_mon_ctx_waiters static

resctrl_mon_ctx_waiters is not used outside of this file, so make it
static. This fixes the sparse warning:

drivers/resctrl/mpam_resctrl.c:25:1: warning: symbol 'resctrl_mon_ctx_waiters' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202603281842.c2K96tJA-lkp@intel.com/
Fixes: 2a3c79c61539 ("arm_mpam: resctrl: Allow resctrl to allocate monitors")
Signed-off-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: James Morse <james.morse@arm.com>
drivers/resctrl/mpam_resctrl.c