Re: [hid:for-6.15/apple 2/4] drivers/hid/hid-appletb-kbd.c:119:18: sparse: sparse: symbol 'appletb_kbd_attrs' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes sent here:

https://lore.kernel.org/linux-input/3AE31FDA-2F6B-4CFA-9E19-0DEECE363D30@xxxxxxxx/T/#t

> On 9 Feb 2025, at 9:11 AM, kernel test robot <lkp@xxxxxxxxx> wrote:
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-6.15/apple
> head:   93a0fc48948107e0cc34e1de22c3cb363a8f2783
> commit: 8e9b9152cfbdc2a90a8acb68acbc1407ef67d139 [2/4] HID: hid-appletb-kbd: add driver for the keyboard mode of Apple Touch Bars
> config: arc-randconfig-r122-20250209 (https://download.01.org/0day-ci/archive/20250209/202502091105.ZsLoBSIh-lkp@xxxxxxxxx/config)
> compiler: arceb-elf-gcc (GCC) 13.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20250209/202502091105.ZsLoBSIh-lkp@xxxxxxxxx/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202502091105.ZsLoBSIh-lkp@xxxxxxxxx/
> 
> sparse warnings: (new ones prefixed by >>)
>>> drivers/hid/hid-appletb-kbd.c:119:18: sparse: sparse: symbol 'appletb_kbd_attrs' was not declared. Should it be static?
> 
> vim +/appletb_kbd_attrs +119 drivers/hid/hid-appletb-kbd.c
> 
>   118
>> 119 struct attribute *appletb_kbd_attrs[] = {
>   120 &dev_attr_mode.attr,
>   121 NULL
>   122 };
>   123 ATTRIBUTE_GROUPS(appletb_kbd);
>   124 
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux