All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: oe-kbuild-all@lists.linux.dev, Mark Brown <broonie@kernel.org>
Subject: [linux-next:master 6232/6263] drivers/scsi/gvp11.c:444:51: warning: missing braces around initializer
Date: Wed, 15 Jul 2026 07:29:46 +0800	[thread overview]
Message-ID: <202607150709.CagVDeyK-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-07-14 23:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202607150709.CagVDeyK-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=broonie@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.