Hi Michael,

I love your patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]
[also build test WARNING on next-20201207]
[cannot apply to net/master ipvs/master linus/master v5.10-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    
https://github.com/0day-ci/linux/commits/Michael-Grzeschik/microchip-add-support-for-ksz88x3-driver-family/20201207-205945
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 
af3f4a85d90218bb59315d591bd2bffa5e646466
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.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/0day-ci/linux/commit/db1f7322c8fa2c28587f13ab3eebbb6ee02874b1
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
Michael-Grzeschik/microchip-add-support-for-ksz88x3-driver-family/20201207-205945
        git checkout db1f7322c8fa2c28587f13ab3eebbb6ee02874b1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/dsa/microchip/ksz8795.c:69:27: warning: initialized field 
>> overwritten [-Woverride-init]
      69 |  [DYNAMIC_MAC_ENTRIES]  = 29,
         |                           ^~
   drivers/net/dsa/microchip/ksz8795.c:69:27: note: (near initialization for 
'ksz8795_shifts[5]')

vim +69 drivers/net/dsa/microchip/ksz8795.c

    62  
    63  static const u8 ksz8795_shifts[] = {
    64          [VLAN_TABLE_MEMBERSHIP]         = 7,
    65          [VLAN_TABLE]                    = 16,
    66          [STATIC_MAC_FWD_PORTS]          = 16,
    67          [STATIC_MAC_FID]                = 24,
    68          [DYNAMIC_MAC_ENTRIES_H]         = 3,
  > 69          [DYNAMIC_MAC_ENTRIES]           = 29,
    70          [DYNAMIC_MAC_FID]               = 16,
    71          [DYNAMIC_MAC_TIMESTAMP]         = 27,
    72          [DYNAMIC_MAC_SRC_PORT]          = 24,
    73  };
    74  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to