All of lore.kernel.org
 help / color / mirror / Atom feed
* [bvanassche:configfs 1/1] fs/configfs/configfs-test.c:129:11: warning: initializer overrides prior initialization of this subobject
@ 2021-07-22  8:57 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-22  8:57 UTC (permalink / raw)
  To: Bart Van Assche; +Cc: clang-built-linux, kbuild-all, linux-kernel

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

tree:   https://github.com/bvanassche/linux configfs
head:   a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b
commit: a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b [1/1] configfs: Add unit tests
config: mips-buildonly-randconfig-r001-20210722 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625ca5b602616b2f5584e8a49ba93c52c141e40)
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
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # 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=clang make.cross ARCH=mips 

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: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
           .name           = "configfs-kunit-test",
                             ^~~~~~~~~~~~~~~~~~~~~
   fs/configfs/configfs-test.c:126:11: note: previous initialization is here
           .name           = "configfs unit tests",
                             ^~~~~~~~~~~~~~~~~~~~~
   1 warning generated.


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: 33206 bytes --]

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

* [bvanassche:configfs 1/1] fs/configfs/configfs-test.c:129:11: warning: initializer overrides prior initialization of this subobject
@ 2021-07-22  8:57 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-22  8:57 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/bvanassche/linux configfs
head:   a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b
commit: a4fab8c72635f28d5d3f4d2ffae50e1bccd3ae8b [1/1] configfs: Add unit tests
config: mips-buildonly-randconfig-r001-20210722 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625ca5b602616b2f5584e8a49ba93c52c141e40)
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
        # install mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # 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=clang make.cross ARCH=mips 

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: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
           .name           = "configfs-kunit-test",
                             ^~~~~~~~~~~~~~~~~~~~~
   fs/configfs/configfs-test.c:126:11: note: previous initialization is here
           .name           = "configfs unit tests",
                             ^~~~~~~~~~~~~~~~~~~~~
   1 warning generated.


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: 33206 bytes --]

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

end of thread, other threads:[~2021-07-22  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22  8:57 [bvanassche:configfs 1/1] fs/configfs/configfs-test.c:129:11: warning: initializer overrides prior initialization of this subobject kernel test robot
2021-07-22  8:57 ` 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.