[pdx86-platform-drivers-x86:review-hans 29/42] drivers/platform/x86/asus-wmi.c:785:30: sparse: sparse: symbol 'kbd_rgb_mode_groups' was not declared. Should it be static?

kernel test robot
2022-08-30T05:24:08Z

tree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head: af024a39ebda58694935f420bf396b11afb0df6b
commit: e305a71cea37a64c7558b8b979f6f08f657d0c3d [29/42] platform/x86: asus-wmi: Implement TUF laptop keyboard LED modes
config: i386-randconfig-s042-20220829 (https://download.01.org/0day-ci/archive/20220830/202208301336.wDYNpg1U-lkp@intel.com/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=e305a71cea37a64c7558b8b979f6f08f657d0c3d
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 e305a71cea37a64c7558b8b979f6f08f657d0c3d
# 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=i386 SHELL=/bin/bash drivers/platform/x86/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

sparse warnings: (new ones prefixed by >>)
>> drivers/platform/x86/asus-wmi.c:785:30: sparse: sparse: symbol 'kbd_rgb_mode_groups' was not declared. Should it be static?
drivers/platform/x86/asus-wmi.c:1682:33: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __le32 [usertype] @@
drivers/platform/x86/asus-wmi.c:1682:33: sparse: expected unsigned int [usertype] val
drivers/platform/x86/asus-wmi.c:1682:33: sparse: got restricted __le32 [usertype]

--
0-DAY CI Kernel Test Service