All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 6232/6263] drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer
@ 2026-07-14 23:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-14 23:29 UTC (permalink / raw)
  To: James Bottomley; +Cc: oe-kbuild-all, Mark Brown

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   cc2b5f627e8ccbae1188ef2d8be3e451d7f933a5
commit: 715be7838dd1e961032686bbc71e92fef8397537 [6232/6263] Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260715/202607150709.CagVDeyK-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260715/202607150709.CagVDeyK-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/202607150709.CagVDeyK-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer [-Wmissing-braces]
     444 | static struct zorro_device_id gvp11_zorro_tbl[] = {
         |                                                   ^
     445 |         { ZORRO_PROD_GVP_COMBO_030_R3_SCSI,     ~0x00ffffff },
         |                                                 {           }
>> drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer [-Wmissing-braces]
     444 | static struct zorro_device_id gvp11_zorro_tbl[] = {
         |                                                   ^
     445 |         { ZORRO_PROD_GVP_COMBO_030_R3_SCSI,     ~0x00ffffff },
         |                                                 {           }
     446 |         { ZORRO_PROD_GVP_SERIES_II,             ~0x00ffffff },
         |                                                 {           }
>> drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer [-Wmissing-braces]
     444 | static struct zorro_device_id gvp11_zorro_tbl[] = {
         |                                                   ^
     445 |         { ZORRO_PROD_GVP_COMBO_030_R3_SCSI,     ~0x00ffffff },
         |                                                 {           }
     446 |         { ZORRO_PROD_GVP_SERIES_II,             ~0x00ffffff },
         |                                                 {           }
     447 |         { ZORRO_PROD_GVP_GFORCE_030_SCSI,       ~0x01ffffff },
         |                                                 {           }
>> drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer [-Wmissing-braces]
     444 | static struct zorro_device_id gvp11_zorro_tbl[] = {
         |                                                   ^
     445 |         { ZORRO_PROD_GVP_COMBO_030_R3_SCSI,     ~0x00ffffff },
         |                                                 {           }
     446 |         { ZORRO_PROD_GVP_SERIES_II,             ~0x00ffffff },
         |                                                 {           }
     447 |         { ZORRO_PROD_GVP_GFORCE_030_SCSI,       ~0x01ffffff },
         |                                                 {           }
     448 |         { ZORRO_PROD_GVP_A530_SCSI,             ~0x01ffffff },
         |                                                 {           }
>> drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer [-Wmissing-braces]
     444 | static struct zorro_device_id gvp11_zorro_tbl[] = {
         |                                                   ^
     445 |         { ZORRO_PROD_GVP_COMBO_030_R3_SCSI,     ~0x00ffffff },
         |                                                 {           }
     446 |         { ZORRO_PROD_GVP_SERIES_II,             ~0x00ffffff },
         |                                                 {           }
     447 |         { ZORRO_PROD_GVP_GFORCE_030_SCSI,       ~0x01ffffff },
         |                                                 {           }
     448 |         { ZORRO_PROD_GVP_A530_SCSI,             ~0x01ffffff },
         |                                                 {           }
     449 |         { ZORRO_PROD_GVP_COMBO_030_R4_SCSI,     ~0x01ffffff },
         |                                                 {           }
>> drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer [-Wmissing-braces]
     444 | static struct zorro_device_id gvp11_zorro_tbl[] = {
         |                                                   ^
     445 |         { ZORRO_PROD_GVP_COMBO_030_R3_SCSI,     ~0x00ffffff },
         |                                                 {           }
     446 |         { ZORRO_PROD_GVP_SERIES_II,             ~0x00ffffff },
         |                                                 {           }
     447 |         { ZORRO_PROD_GVP_GFORCE_030_SCSI,       ~0x01ffffff },
         |                                                 {           }
     448 |         { ZORRO_PROD_GVP_A530_SCSI,             ~0x01ffffff },
         |                                                 {           }
     449 |         { ZORRO_PROD_GVP_COMBO_030_R4_SCSI,     ~0x01ffffff },
         |                                                 {           }
     450 |         { ZORRO_PROD_GVP_A1291,                 ~0x07ffffff },
         |                                                 {           }
>> drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer [-Wmissing-braces]
     444 | static struct zorro_device_id gvp11_zorro_tbl[] = {
         |                                                   ^
     445 |         { ZORRO_PROD_GVP_COMBO_030_R3_SCSI,     ~0x00ffffff },
         |                                                 {           }
     446 |         { ZORRO_PROD_GVP_SERIES_II,             ~0x00ffffff },
         |                                                 {           }
     447 |         { ZORRO_PROD_GVP_GFORCE_030_SCSI,       ~0x01ffffff },
         |                                                 {           }
     448 |         { ZORRO_PROD_GVP_A530_SCSI,             ~0x01ffffff },
         |                                                 {           }
     449 |         { ZORRO_PROD_GVP_COMBO_030_R4_SCSI,     ~0x01ffffff },
         |                                                 {           }
     450 |         { ZORRO_PROD_GVP_A1291,                 ~0x07ffffff },
         |                                                 {           }
     451 |         { ZORRO_PROD_GVP_GFORCE_040_SCSI_1,     ~0x07ffffff },
         |                                                 {           }
>> drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer [-Wmissing-braces]
     444 | static struct zorro_device_id gvp11_zorro_tbl[] = {
         |                                                   ^
     445 |         { ZORRO_PROD_GVP_COMBO_030_R3_SCSI,     ~0x00ffffff },
         |                                                 {           }
     446 |         { ZORRO_PROD_GVP_SERIES_II,             ~0x00ffffff },
         |                                                 {           }
     447 |         { ZORRO_PROD_GVP_GFORCE_030_SCSI,       ~0x01ffffff },
         |                                                 {           }
     448 |         { ZORRO_PROD_GVP_A530_SCSI,             ~0x01ffffff },
         |                                                 {           }
     449 |         { ZORRO_PROD_GVP_COMBO_030_R4_SCSI,     ~0x01ffffff },
         |                                                 {           }
     450 |         { ZORRO_PROD_GVP_A1291,                 ~0x07ffffff },
         |                                                 {           }
     451 |         { ZORRO_PROD_GVP_GFORCE_040_SCSI_1,     ~0x07ffffff },
         |                                                 {           }


vim +444 drivers/scsi/gvp11.c

^1da177e4c3f41 Linus Torvalds     2005-04-16  437  
c1d288a58936cd Geert Uytterhoeven 2009-08-16  438  	/*
c1d288a58936cd Geert Uytterhoeven 2009-08-16  439  	 * This should (hopefully) be the correct way to identify
c1d288a58936cd Geert Uytterhoeven 2009-08-16  440  	 * all the different GVP SCSI controllers (except for the
c1d288a58936cd Geert Uytterhoeven 2009-08-16  441  	 * SERIES I though).
c1d288a58936cd Geert Uytterhoeven 2009-08-16  442  	 */
^1da177e4c3f41 Linus Torvalds     2005-04-16  443  
6f039790510fd6 Greg Kroah-Hartman 2012-12-21 @444  static struct zorro_device_id gvp11_zorro_tbl[] = {
c1d288a58936cd Geert Uytterhoeven 2009-08-16  445  	{ ZORRO_PROD_GVP_COMBO_030_R3_SCSI,	~0x00ffffff },
c1d288a58936cd Geert Uytterhoeven 2009-08-16  446  	{ ZORRO_PROD_GVP_SERIES_II,		~0x00ffffff },
c1d288a58936cd Geert Uytterhoeven 2009-08-16  447  	{ ZORRO_PROD_GVP_GFORCE_030_SCSI,	~0x01ffffff },
c1d288a58936cd Geert Uytterhoeven 2009-08-16  448  	{ ZORRO_PROD_GVP_A530_SCSI,		~0x01ffffff },
c1d288a58936cd Geert Uytterhoeven 2009-08-16  449  	{ ZORRO_PROD_GVP_COMBO_030_R4_SCSI,	~0x01ffffff },
c1d288a58936cd Geert Uytterhoeven 2009-08-16  450  	{ ZORRO_PROD_GVP_A1291,			~0x07ffffff },
c1d288a58936cd Geert Uytterhoeven 2009-08-16  451  	{ ZORRO_PROD_GVP_GFORCE_040_SCSI_1,	~0x07ffffff },
c1d288a58936cd Geert Uytterhoeven 2009-08-16  452  	{ 0 }
^1da177e4c3f41 Linus Torvalds     2005-04-16  453  };
c1d288a58936cd Geert Uytterhoeven 2009-08-16  454  MODULE_DEVICE_TABLE(zorro, gvp11_zorro_tbl);
^1da177e4c3f41 Linus Torvalds     2005-04-16  455  

:::::: The code at line 444 was first introduced by commit
:::::: 6f039790510fd630ff348efe8c4802dbaa041fba Drivers: scsi: remove __dev* attributes.

:::::: TO: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

--
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:[~2026-07-14 23:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-14 23:29 [linux-next:master 6232/6263] drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer 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.