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]
Message-ID: <202107210932.FjxQI8SG-lkp@intel.com>
Date:   Wed, 21 Jul 2021 09:38:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [arnd-playground:compat-alloc-user-space-10 35/40]
 drivers/net/ethernet/intel/ice/ice_main.c:6567: warning: expecting prototype
 for ice_do_ioctl(). Prototype was for ice_eth_ioctl() instead

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git compat-alloc-user-space-10
head:   62f24dbc07a07cc9ed7b4c817d4c6e94bbc94b48
commit: d662de8f2059807144906f19d332121b3073b621 [35/40] dev_ioctl: split out ndo_eth_ioctl
config: x86_64-randconfig-a012-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 87039c048c0cbc3d8cbba86187269b006bf2f373)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commit/?id=d662de8f2059807144906f19d332121b3073b621
        git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
        git fetch --no-tags arnd-playground compat-alloc-user-space-10
        git checkout d662de8f2059807144906f19d332121b3073b621
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/ethernet/intel/ice/

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

All warnings (new ones prefixed by >>):

>> drivers/net/ethernet/intel/ice/ice_main.c:6567: warning: expecting prototype for ice_do_ioctl(). Prototype was for ice_eth_ioctl() instead

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for PHY_SPARX5_SERDES
   Depends on (ARCH_SPARX5 || COMPILE_TEST && OF && HAS_IOMEM
   Selected by
   - SPARX5_SWITCH && NETDEVICES && ETHERNET && NET_VENDOR_MICROCHIP && NET_SWITCHDEV && HAS_IOMEM && OF


vim +6567 drivers/net/ethernet/intel/ice/ice_main.c

e94d4478669357 Anirudh Venkataramanan 2018-03-20  6559  
77a781155a6590 Jacob Keller           2021-06-09  6560  /**
77a781155a6590 Jacob Keller           2021-06-09  6561   * ice_do_ioctl - Access the hwtstamp interface
77a781155a6590 Jacob Keller           2021-06-09  6562   * @netdev: network interface device structure
77a781155a6590 Jacob Keller           2021-06-09  6563   * @ifr: interface request data
77a781155a6590 Jacob Keller           2021-06-09  6564   * @cmd: ioctl command
77a781155a6590 Jacob Keller           2021-06-09  6565   */
d662de8f205980 Arnd Bergmann          2020-11-06  6566  static int ice_eth_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
77a781155a6590 Jacob Keller           2021-06-09 @6567  {
77a781155a6590 Jacob Keller           2021-06-09  6568  	struct ice_netdev_priv *np = netdev_priv(netdev);
77a781155a6590 Jacob Keller           2021-06-09  6569  	struct ice_pf *pf = np->vsi->back;
77a781155a6590 Jacob Keller           2021-06-09  6570  
77a781155a6590 Jacob Keller           2021-06-09  6571  	switch (cmd) {
77a781155a6590 Jacob Keller           2021-06-09  6572  	case SIOCGHWTSTAMP:
77a781155a6590 Jacob Keller           2021-06-09  6573  		return ice_ptp_get_ts_config(pf, ifr);
77a781155a6590 Jacob Keller           2021-06-09  6574  	case SIOCSHWTSTAMP:
77a781155a6590 Jacob Keller           2021-06-09  6575  		return ice_ptp_set_ts_config(pf, ifr);
77a781155a6590 Jacob Keller           2021-06-09  6576  	default:
77a781155a6590 Jacob Keller           2021-06-09  6577  		return -EOPNOTSUPP;
77a781155a6590 Jacob Keller           2021-06-09  6578  	}
77a781155a6590 Jacob Keller           2021-06-09  6579  }
77a781155a6590 Jacob Keller           2021-06-09  6580  

:::::: The code at line 6567 was first introduced by commit
:::::: 77a781155a659053f3b7e81a0ab115d27ff151cd ice: enable receive hardware timestamping

:::::: TO: Jacob Keller <jacob.e.keller@...el.com>
:::::: CC: Tony Nguyen <anthony.l.nguyen@...el.com>

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

Download attachment ".config.gz" of type "application/gzip" (42329 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ