* [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?
@ 2025-02-09 3:41 kernel test robot
2025-02-09 7:30 ` Aditya Garg
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-02-09 3:41 UTC (permalink / raw)
To: Kerem Karabay; +Cc: oe-kbuild-all, linux-input, Jiri Kosina, Aditya Garg
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@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20250209/202502091105.ZsLoBSIh-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502091105.ZsLoBSIh-lkp@intel.com/
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* 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?
2025-02-09 3:41 [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? kernel test robot
@ 2025-02-09 7:30 ` Aditya Garg
0 siblings, 0 replies; 2+ messages in thread
From: Aditya Garg @ 2025-02-09 7:30 UTC (permalink / raw)
To: kernel test robot
Cc: Kerem Karabay, oe-kbuild-all@lists.linux.dev,
linux-input@vger.kernel.org, Jiri Kosina
Fixes sent here:
https://lore.kernel.org/linux-input/3AE31FDA-2F6B-4CFA-9E19-0DEECE363D30@live.com/T/#t
> On 9 Feb 2025, at 9:11 AM, kernel test robot <lkp@intel.com> 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@intel.com/config)
> compiler: arceb-elf-gcc (GCC) 13.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20250209/202502091105.ZsLoBSIh-lkp@intel.com/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@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202502091105.ZsLoBSIh-lkp@intel.com/
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-09 7:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-09 3:41 [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? kernel test robot
2025-02-09 7:30 ` Aditya Garg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox