lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 4 Aug 2022 06:33:40 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Russell King (Oracle)" <rmk+kernel@...linux.org.uk>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [rmk-arm:zii 42/87] drivers/net/pcs/pcs-xpcs.c:178:16: error:
 implicit declaration of function 'mdiodev_c45_read'; did you mean
 'mdiobus_c45_read'?

tree:   git://git.armlinux.org.uk/~rmk/linux-arm zii
head:   315d00812d1f8ed8bbbce4e4fd8d32fc883900a0
commit: 8994c74ee066d099110807ffcee3f61ffd62d28b [42/87] net: pcs: xpcs: use mdiodev accessors
config: arc-randconfig-r003-20220803 (https://download.01.org/0day-ci/archive/20220804/202208040620.UbUqOw7I-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 12.1.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 rmk-arm git://git.armlinux.org.uk/~rmk/linux-arm
        git fetch --no-tags rmk-arm zii
        git checkout 8994c74ee066d099110807ffcee3f61ffd62d28b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/net/pcs/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   drivers/net/pcs/pcs-xpcs.c: In function 'xpcs_read':
>> drivers/net/pcs/pcs-xpcs.c:178:16: error: implicit declaration of function 'mdiodev_c45_read'; did you mean 'mdiobus_c45_read'? [-Werror=implicit-function-declaration]
     178 |         return mdiodev_c45_read(xpcs->mdiodev, dev, reg);
         |                ^~~~~~~~~~~~~~~~
         |                mdiobus_c45_read
   drivers/net/pcs/pcs-xpcs.c: In function 'xpcs_write':
>> drivers/net/pcs/pcs-xpcs.c:183:16: error: implicit declaration of function 'mdiodev_c45_write'; did you mean 'mdiobus_c45_write'? [-Werror=implicit-function-declaration]
     183 |         return mdiodev_c45_write(xpcs->mdiodev, dev, reg, val);
         |                ^~~~~~~~~~~~~~~~~
         |                mdiobus_c45_write
   cc1: some warnings being treated as errors


vim +178 drivers/net/pcs/pcs-xpcs.c

   172	
   173	#define xpcs_linkmode_supported(compat, mode) \
   174		__xpcs_linkmode_supported(compat, ETHTOOL_LINK_MODE_ ## mode ## _BIT)
   175	
   176	int xpcs_read(struct dw_xpcs *xpcs, int dev, u32 reg)
   177	{
 > 178		return mdiodev_c45_read(xpcs->mdiodev, dev, reg);
   179	}
   180	
   181	int xpcs_write(struct dw_xpcs *xpcs, int dev, u32 reg, u16 val)
   182	{
 > 183		return mdiodev_c45_write(xpcs->mdiodev, dev, reg, val);
   184	}
   185	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists