driver core: cpu: Make cpu_show_not_affected() static
authorBorislav Petkov (AMD) <bp@alien8.de>
Thu, 10 Aug 2023 11:22:29 +0000 (13:22 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 10 Aug 2023 11:25:12 +0000 (13:25 +0200)
commit6524c798b727ffdb5c7eaed2f50e8e839997df8e
tree04985ce5eb18693923d4157711c99899b304bf4a
parentcbe8ded48b939b9d55d2c5589ab56caa7b530709
driver core: cpu: Make cpu_show_not_affected() static

Fix a -Wmissing-prototypes warning and add the gather_data_sampling()
stub macro call for real.

Fixes: 0fddfe338210 ("driver core: cpu: Unify redundant silly stubs")
Closes: https://lore.kernel.org/oe-kbuild-all/202308101956.oRj1ls7s-lkp@intel.com
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/202308101956.oRj1ls7s-lkp@intel.com
drivers/base/cpu.c