[arm:zii 49/94] drivers/net/dsa/mv88e6xxx/global2_scratch.c:301: warning: expecting prototype for mv88e6352_g2_scratch_get_serdes_port(). Prototype was for mv88e6352_g2_scratch_port_has_serdes() instead

kernel test robot lkp at intel.com
Mon Oct 25 11:49:57 PDT 2021


tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git zii
head:   235aafafbc4ad145db5575eda7b38c1031b131b4
commit: a4f08dcbd56b2f9020e22f9970bc7ccbcee486a8 [49/94] net: dsa: mv88e6xxx: add mv88e6352_g2_scratch_port_has_serdes()
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 11.2.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
        git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
        git fetch --no-tags arm zii
        git checkout a4f08dcbd56b2f9020e22f9970bc7ccbcee486a8
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/net/dsa/mv88e6xxx/

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

All warnings (new ones prefixed by >>):

>> drivers/net/dsa/mv88e6xxx/global2_scratch.c:301: warning: expecting prototype for mv88e6352_g2_scratch_get_serdes_port(). Prototype was for mv88e6352_g2_scratch_port_has_serdes() instead


vim +301 drivers/net/dsa/mv88e6xxx/global2_scratch.c

   292	
   293	/**
   294	 * mv88e6352_g2_scratch_get_serdes_port - get port number associated with serdes
   295	 * @chip: chip private data
   296	 * @port: pointer to u8 for port number
   297	 *
   298	 * Retrieve the serdes configuration for the chip.
   299	 */
   300	int mv88e6352_g2_scratch_port_has_serdes(struct mv88e6xxx_chip *chip, int port)
 > 301	{

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 71423 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211026/38400fc4/attachment-0001.gz>


More information about the linux-arm-kernel mailing list