All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/hid/hid-core.c:1767:2: warning: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro]
@ 2022-04-03 18:43 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-04-03 18:43 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2404 bytes --]

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Benjamin Tissoires <benjamin.tissoires@redhat.com>
CC: Jiri Kosina <jkosina@suse.cz>
CC: Ping Cheng <ping.cheng@wacom.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   be2d3ecedd9911fbfd7e55cc9ceac5f8b79ae4cf
commit: 22f4b026c3ddd4b26c5baa202bd3ee38feaa2e9a HID: compute an ordered list of input fields to process
date:   5 weeks ago
:::::: branch date: 23 hours ago
:::::: commit date: 5 weeks ago
compiler: ia64-linux-gcc (GCC) 11.2.0

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


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> drivers/hid/hid-quirks.c:1145:39: warning: Uninitialized variable: q->hid_bl_item [uninitvar]
     if (bus == HID_BUS_ANY || bus == q->hid_bl_item.bus) {
                                         ^
--
>> drivers/hid/hid-input.c:1496:2: warning: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro]
    list_for_each_entry(hidinput, &hid->inputs, list)
    ^
--
>> drivers/hid/hid-core.c:1767:2: warning: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro]
    list_for_each_entry(report, &report_enum->report_list, list)
    ^

vim +1767 drivers/hid/hid-core.c

22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1761  
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1762  static void hid_process_ordering(struct hid_device *hid)
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1763  {
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1764  	struct hid_report *report;
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1765  	struct hid_report_enum *report_enum = &hid->report_enum[HID_INPUT_REPORT];
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1766  
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03 @1767  	list_for_each_entry(report, &report_enum->report_list, list)
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1768  		hid_report_process_ordering(hid, report);
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1769  }
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1770  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/hid/hid-core.c:1767:2: warning: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro]
@ 2022-03-31 14:52 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-03-31 14:52 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 1942 bytes --]

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Benjamin Tissoires <benjamin.tissoires@redhat.com>
CC: Jiri Kosina <jkosina@suse.cz>
CC: Ping Cheng <ping.cheng@wacom.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   787af64d05cd528aac9ad16752d11bb1c6061bb9
commit: 22f4b026c3ddd4b26c5baa202bd3ee38feaa2e9a HID: compute an ordered list of input fields to process
date:   4 weeks ago
:::::: branch date: 16 hours ago
:::::: commit date: 4 weeks ago
compiler: or1k-linux-gcc (GCC) 11.2.0

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


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> drivers/hid/hid-core.c:1767:2: warning: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro]
    list_for_each_entry(report, &report_enum->report_list, list)
    ^

vim +1767 drivers/hid/hid-core.c

22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1761  
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1762  static void hid_process_ordering(struct hid_device *hid)
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1763  {
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1764  	struct hid_report *report;
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1765  	struct hid_report_enum *report_enum = &hid->report_enum[HID_INPUT_REPORT];
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1766  
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03 @1767  	list_for_each_entry(report, &report_enum->report_list, list)
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1768  		hid_report_process_ordering(hid, report);
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1769  }
22f4b026c3ddd4 Benjamin Tissoires 2022-02-03  1770  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-03 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-03 18:43 drivers/hid/hid-core.c:1767:2: warning: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2022-03-31 14:52 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.