linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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
@ 2021-07-21  1:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-21  1:38 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: clang-built-linux, kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 4041 bytes --]

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@intel.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@intel.com>
:::::: CC: Tony Nguyen <anthony.l.nguyen@intel.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 42329 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-21  1:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21  1:38 [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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).