All of lore.kernel.org
 help / color / mirror / Atom feed
* [rafael-pm:bleeding-edge 113/118] include/linux/mod_devicetable.h:587:25: warning: excess elements in array initializer
@ 2022-03-02  2:51 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-03-02  2:51 UTC (permalink / raw)
  To: Mark Cilissen
  Cc: kbuild-all, linux-acpi, devel, linux-pm, Rafael J. Wysocki,
	Hans de Goede

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   f7307721a01f4f14d21c699b270a870370cf34b9
commit: ed00b2b8d737f87a2437d7bd7c7f90124b50da05 [113/118] x86 / ACPI: Work around broken XSDT on SEGA AALE board
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220302/202203020750.Uq6hGay2-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=ed00b2b8d737f87a2437d7bd7c7f90124b50da05
        git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
        git fetch --no-tags rafael-pm bleeding-edge
        git checkout ed00b2b8d737f87a2437d7bd7c7f90124b50da05
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/acpi/

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

All warnings (new ones prefixed by >>):

   In file included from include/linux/of.h:18,
                    from include/linux/irqdomain.h:35,
                    from include/linux/acpi.h:13,
                    from arch/x86/kernel/acpi/boot.c:11:
>> include/linux/mod_devicetable.h:587:25: warning: excess elements in array initializer
     587 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
         |                         ^
   arch/x86/kernel/acpi/boot.c:1476:8: note: in expansion of macro 'DMI_MATCH'
    1476 |        DMI_MATCH(DMI_BIOS_DATE, "02/01/2011"),
         |        ^~~~~~~~~
   include/linux/mod_devicetable.h:587:25: note: (near initialization for 'acpi_dmi_table[6].matches')
     587 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
         |                         ^
   arch/x86/kernel/acpi/boot.c:1476:8: note: in expansion of macro 'DMI_MATCH'
    1476 |        DMI_MATCH(DMI_BIOS_DATE, "02/01/2011"),
         |        ^~~~~~~~~


vim +587 include/linux/mod_devicetable.h

d945b697d0eea5 David Woodhouse 2008-09-16  586  
5017b2851373ee Jani Nikula     2013-07-03 @587  #define DMI_MATCH(a, b)	{ .slot = a, .substr = b }
5017b2851373ee Jani Nikula     2013-07-03  588  #define DMI_EXACT_MATCH(a, b)	{ .slot = a, .substr = b, .exact_match = 1 }
d2653e92732bd3 Jean Delvare    2008-04-29  589  

:::::: The code at line 587 was first introduced by commit
:::::: 5017b2851373ee15c7035151853bb1448800cae2 dmi: add support for exact DMI matches in addition to substring matching

:::::: TO: Jani Nikula <jani.nikula@intel.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

* [Devel] [rafael-pm:bleeding-edge 113/118] include/linux/mod_devicetable.h:587:25: warning: excess elements in array initializer
@ 2022-03-02  2:51 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-03-02  2:51 UTC (permalink / raw)
  To: devel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   f7307721a01f4f14d21c699b270a870370cf34b9
commit: ed00b2b8d737f87a2437d7bd7c7f90124b50da05 [113/118] x86 / ACPI: Work around broken XSDT on SEGA AALE board
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220302/202203020750.Uq6hGay2-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=ed00b2b8d737f87a2437d7bd7c7f90124b50da05
        git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
        git fetch --no-tags rafael-pm bleeding-edge
        git checkout ed00b2b8d737f87a2437d7bd7c7f90124b50da05
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/acpi/

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

All warnings (new ones prefixed by >>):

   In file included from include/linux/of.h:18,
                    from include/linux/irqdomain.h:35,
                    from include/linux/acpi.h:13,
                    from arch/x86/kernel/acpi/boot.c:11:
>> include/linux/mod_devicetable.h:587:25: warning: excess elements in array initializer
     587 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
         |                         ^
   arch/x86/kernel/acpi/boot.c:1476:8: note: in expansion of macro 'DMI_MATCH'
    1476 |        DMI_MATCH(DMI_BIOS_DATE, "02/01/2011"),
         |        ^~~~~~~~~
   include/linux/mod_devicetable.h:587:25: note: (near initialization for 'acpi_dmi_table[6].matches')
     587 | #define DMI_MATCH(a, b) { .slot = a, .substr = b }
         |                         ^
   arch/x86/kernel/acpi/boot.c:1476:8: note: in expansion of macro 'DMI_MATCH'
    1476 |        DMI_MATCH(DMI_BIOS_DATE, "02/01/2011"),
         |        ^~~~~~~~~


vim +587 include/linux/mod_devicetable.h

d945b697d0eea5 David Woodhouse 2008-09-16  586  
5017b2851373ee Jani Nikula     2013-07-03 @587  #define DMI_MATCH(a, b)	{ .slot = a, .substr = b }
5017b2851373ee Jani Nikula     2013-07-03  588  #define DMI_EXACT_MATCH(a, b)	{ .slot = a, .substr = b, .exact_match = 1 }
d2653e92732bd3 Jean Delvare    2008-04-29  589  

:::::: The code at line 587 was first introduced by commit
:::::: 5017b2851373ee15c7035151853bb1448800cae2 dmi: add support for exact DMI matches in addition to substring matching

:::::: TO: Jani Nikula <jani.nikula(a)intel.com>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

end of thread, other threads:[~2022-03-02  2:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02  2:51 [rafael-pm:bleeding-edge 113/118] include/linux/mod_devicetable.h:587:25: warning: excess elements in array initializer kernel test robot
2022-03-02  2:51 ` [Devel] " 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.