[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202207171326.msDvZqQY-lkp@intel.com>
Date: Sun, 17 Jul 2022 13:22:12 +0800
From: kernel test robot <lkp@...el.com>
To: Andrey Turkin <andrey.turkin@...il.com>, netdev@...r.kernel.org
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
Ronak Doshi <doshir@...are.com>,
VMware PV-Drivers Reviewers <pv-drivers@...are.com>,
Andrey Turkin <andrey.turkin@...il.com>
Subject: Re: [PATCH] vmxnet3: Implement ethtool's get_channels command
Hi Andrey,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on 972a278fe60c361eb8f37619f562f092e8786d7c]
url: https://github.com/intel-lab-lkp/linux/commits/Andrey-Turkin/vmxnet3-Implement-ethtool-s-get_channels-command/20220717-102410
base: 972a278fe60c361eb8f37619f562f092e8786d7c
config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220717/202207171326.msDvZqQY-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 45067f8fbf61284839c739807c2da2e2505661eb)
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/intel-lab-lkp/linux/commit/87d4e00b53b145b85dfcda9645ed4a2467caab7d
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Andrey-Turkin/vmxnet3-Implement-ethtool-s-get_channels-command/20220717-102410
git checkout 87d4e00b53b145b85dfcda9645ed4a2467caab7d
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/net/vmxnet3/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/net/vmxnet3/vmxnet3_ethtool.c:1191:6: warning: no previous prototype for function 'vmxnet3_get_channels' [-Wmissing-prototypes]
void vmxnet3_get_channels(struct net_device *netdev,
^
drivers/net/vmxnet3/vmxnet3_ethtool.c:1191:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void vmxnet3_get_channels(struct net_device *netdev,
^
static
1 warning generated.
vim +/vmxnet3_get_channels +1191 drivers/net/vmxnet3/vmxnet3_ethtool.c
1190
> 1191 void vmxnet3_get_channels(struct net_device *netdev,
1192 struct ethtool_channels *ec)
1193 {
1194 struct vmxnet3_adapter *adapter = netdev_priv(netdev);
1195
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists