* [hid:for-next 1/2] include/linux/platform_data/x86/asus-wmi.h:205:2: warning: suggest braces around initialization of subobject
@ 2024-06-20 6:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-20 6:17 UTC (permalink / raw)
To: Luke D. Jones; +Cc: llvm, oe-kbuild-all, linux-input, Jiri Kosina
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
head: fa9057ccb9c323816e0f2599a2d91f5c856b0004
commit: bda38f9a41d89b47dce54932f88d0e0edee00cae [1/2] HID: asus: use hid for brightness control on keyboard
config: i386-buildonly-randconfig-006-20240620 (https://download.01.org/0day-ci/archive/20240620/202406201404.NGl8SOi4-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406201404.NGl8SOi4-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/202406201404.NGl8SOi4-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/hid/hid-asus.c:29:
>> include/linux/platform_data/x86/asus-wmi.h:205:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
205 | NULL,
| ^~~~
| { }
include/linux/stddef.h:8:14: note: expanded from macro 'NULL'
8 | #define NULL ((void *)0)
| ^~~~~~~~~~~
1 warning generated.
vim +205 include/linux/platform_data/x86/asus-wmi.h
173
174 static const struct dmi_system_id asus_use_hid_led_dmi_ids[] = {
175 {
176 .matches = {
177 DMI_MATCH(DMI_PRODUCT_FAMILY, "ROG Zephyrus"),
178 },
179 },
180 {
181 .matches = {
182 DMI_MATCH(DMI_PRODUCT_FAMILY, "ROG Strix"),
183 },
184 },
185 {
186 .matches = {
187 DMI_MATCH(DMI_PRODUCT_FAMILY, "ROG Flow"),
188 },
189 },
190 {
191 .matches = {
192 DMI_MATCH(DMI_BOARD_NAME, "GA403"),
193 },
194 },
195 {
196 .matches = {
197 DMI_MATCH(DMI_BOARD_NAME, "GU605"),
198 },
199 },
200 {
201 .matches = {
202 DMI_MATCH(DMI_BOARD_NAME, "RC71L"),
203 },
204 },
> 205 NULL,
206 };
207
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-20 6:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 6:17 [hid:for-next 1/2] include/linux/platform_data/x86/asus-wmi.h:205:2: warning: suggest braces around initialization of subobject kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).