All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [bvanassche:configfs 1/1] fs/configfs/configfs-test.c:129:11: warning: initialized field overwritten
Date: Thu, 22 Jul 2021 16:27:41 +0800	[thread overview]
Message-ID: <202107221634.z1QPy6LS-lkp@intel.com> (raw)

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

tree:   https://github.com/bvanassche/linux configfs
head:   a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b
commit: a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b [1/1] configfs: Add unit tests
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/bvanassche/linux/commit/a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b
        git remote add bvanassche https://github.com/bvanassche/linux
        git fetch --no-tags bvanassche configfs
        git checkout a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=nios2 

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 >>):

>> fs/configfs/configfs-test.c:129:11: warning: initialized field overwritten [-Woverride-init]
     129 |  .name  = "configfs-kunit-test",
         |           ^~~~~~~~~~~~~~~~~~~~~
   fs/configfs/configfs-test.c:129:11: note: (near initialization for 'configfs_test_module.name')


vim +129 fs/configfs/configfs-test.c

   124	
   125	static struct kunit_suite configfs_test_module = {
   126		.name		= "configfs unit tests",
   127		.init		= configfs_test_init,
   128		.exit		= configfs_test_exit,
 > 129		.name		= "configfs-kunit-test",

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 60015 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [bvanassche:configfs 1/1] fs/configfs/configfs-test.c:129:11: warning: initialized field overwritten
Date: Thu, 22 Jul 2021 16:27:41 +0800	[thread overview]
Message-ID: <202107221634.z1QPy6LS-lkp@intel.com> (raw)

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

tree:   https://github.com/bvanassche/linux configfs
head:   a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b
commit: a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b [1/1] configfs: Add unit tests
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/bvanassche/linux/commit/a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b
        git remote add bvanassche https://github.com/bvanassche/linux
        git fetch --no-tags bvanassche configfs
        git checkout a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=nios2 

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 >>):

>> fs/configfs/configfs-test.c:129:11: warning: initialized field overwritten [-Woverride-init]
     129 |  .name  = "configfs-kunit-test",
         |           ^~~~~~~~~~~~~~~~~~~~~
   fs/configfs/configfs-test.c:129:11: note: (near initialization for 'configfs_test_module.name')


vim +129 fs/configfs/configfs-test.c

   124	
   125	static struct kunit_suite configfs_test_module = {
   126		.name		= "configfs unit tests",
   127		.init		= configfs_test_init,
   128		.exit		= configfs_test_exit,
 > 129		.name		= "configfs-kunit-test",

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 60015 bytes --]

             reply	other threads:[~2021-07-22  8:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-22  8:27 kernel test robot [this message]
2021-07-22  8:27 ` [bvanassche:configfs 1/1] fs/configfs/configfs-test.c:129:11: warning: initialized field overwritten kernel test robot

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=202107221634.z1QPy6LS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.