[pdx86-platform-drivers-x86:review-hans 63/75] drivers/platform/x86/toshiba_acpi.c:56:5: sparse: sparse: symbol 'turn_on_panel_on_resume' was not declared. Should it be static?
From: kernel test robot
Date: Mon Sep 19 2022 - 13:37:12 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head: c710765a4742337e40199403acde2fdd3189183d
commit: 3cb1f40dfdc3b9f5449076c96b4e2523139f5cd0 [63/75] drivers/platform: toshiba_acpi: Call HCI_PANEL_POWER_ON on resume on some models
config: x86_64-randconfig-s021-20220919 (https://download.01.org/0day-ci/archive/20220920/202209200116.yruuNbr4-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/commit/?id=3cb1f40dfdc3b9f5449076c96b4e2523139f5cd0
git remote add pdx86-platform-drivers-x86 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
git fetch --no-tags pdx86-platform-drivers-x86 review-hans
git checkout 3cb1f40dfdc3b9f5449076c96b4e2523139f5cd0
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/platform/x86/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
sparse warnings: (new ones prefixed by >>)
>> drivers/platform/x86/toshiba_acpi.c:56:5: sparse: sparse: symbol 'turn_on_panel_on_resume' was not declared. Should it be static?
--
0-DAY CI Kernel Test Service
https://01.org/lkp