[bvanassche:configfs 1/1] fs/configfs/configfs-test.c:129:11: warning: initialized field overwritten

From: kernel test robot
Date: Thu Jul 22 2021 - 04:28:50 EST

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@xxxxxxxxx>

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

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

Attachment: .config.gz
Description: application/gzip