[hid:for-next 1/2] include/linux/platform_data/x86/asus-wmi.h:174:64: warning: missing braces around initializer

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

 



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: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20240620/202406201647.E2BChvPJ-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406201647.E2BChvPJ-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/202406201647.E2BChvPJ-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from drivers/hid/hid-asus.c:29:
>> include/linux/platform_data/x86/asus-wmi.h:174:64: warning: missing braces around initializer [-Wmissing-braces]
     174 | static const struct dmi_system_id asus_use_hid_led_dmi_ids[] = {
         |                                                                ^


vim +174 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




[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