All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andrey Turkin <andrey.turkin@gmail.com>, netdev@vger.kernel.org
Cc: kbuild-all@lists.01.org, Ronak Doshi <doshir@vmware.com>,
	VMware PV-Drivers Reviewers <pv-drivers@vmware.com>,
	Andrey Turkin <andrey.turkin@gmail.com>
Subject: Re: [PATCH] vmxnet3: Implement ethtool's get_channels command
Date: Mon, 18 Jul 2022 00:03:01 +0800	[thread overview]
Message-ID: <202207172303.yyCkQKVF-lkp@intel.com> (raw)
In-Reply-To: <20220717022050.822766-1-andrey.turkin@gmail.com>

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-a015-20211103 (https://download.01.org/0day-ci/archive/20220717/202207172303.yyCkQKVF-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # 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
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

   drivers/net/vmxnet3/vmxnet3_ethtool.c:1191:6: warning: no previous prototype for 'vmxnet3_get_channels' [-Wmissing-prototypes]
    1191 | void vmxnet3_get_channels(struct net_device *netdev,
         |      ^~~~~~~~~~~~~~~~~~~~
   drivers/net/vmxnet3/vmxnet3_ethtool.c: In function 'vmxnet3_get_channels':
>> drivers/net/vmxnet3/vmxnet3_ethtool.c:1194:33: warning: unused variable 'adapter' [-Wunused-variable]
    1194 |         struct vmxnet3_adapter *adapter = netdev_priv(netdev);
         |                                 ^~~~~~~


vim +/adapter +1194 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

      parent reply	other threads:[~2022-07-17 16:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-17  2:20 [PATCH] vmxnet3: Implement ethtool's get_channels command Andrey Turkin
2022-07-17  2:20 ` [PATCH] vmxnet3: Record queue number to incoming packets Andrey Turkin
2022-07-19  3:50   ` patchwork-bot+netdevbpf
2022-07-17  3:37 ` [PATCH] vmxnet3: Implement ethtool's get_channels command kernel test robot
2022-07-17  5:22 ` kernel test robot
2022-07-17 14:54 ` Andrew Lunn
2022-07-17 16:03 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202207172303.yyCkQKVF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrey.turkin@gmail.com \
    --cc=doshir@vmware.com \
    --cc=kbuild-all@lists.01.org \
    --cc=netdev@vger.kernel.org \
    --cc=pv-drivers@vmware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.