From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [net-next v8 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices
Date: Fri, 11 Sep 2020 08:09:19 +0800 [thread overview]
Message-ID: <202009110817.u1cvbKSS%lkp@intel.com> (raw)
In-Reply-To: <20200910150055.15598-2-vadym.kochan@plvision.eu>
[-- Attachment #1: Type: text/plain, Size: 2137 bytes --]
Hi Vadym,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Vadym-Kochan/net-marvell-prestera-Add-driver-for-Prestera-family-ASIC-devices/20200911-040039
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 4f6a5caf187ff5807cd5b4ea5678982c249bd964
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
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/marvell/prestera/prestera_rxtx.c: In function 'prestera_sdma_tx_wait':
>> drivers/net/ethernet/marvell/prestera/prestera_rxtx.c:695:7: warning: variable 'is_ready' set but not used [-Wunused-but-set-variable]
695 | bool is_ready;
| ^~~~~~~~
# https://github.com/0day-ci/linux/commit/9d3096bbc016c199c3432de3ec33d11d521b7a5c
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Vadym-Kochan/net-marvell-prestera-Add-driver-for-Prestera-family-ASIC-devices/20200911-040039
git checkout 9d3096bbc016c199c3432de3ec33d11d521b7a5c
vim +/is_ready +695 drivers/net/ethernet/marvell/prestera/prestera_rxtx.c
690
691 static int prestera_sdma_tx_wait(struct prestera_sdma *sdma,
692 struct prestera_tx_ring *tx_ring)
693 {
694 int tx_wait_num = PRESTERA_SDMA_WAIT_MUL * tx_ring->max_burst;
> 695 bool is_ready;
696
697 return read_poll_timeout_atomic(prestera_sdma_is_ready, is_ready, true,
698 1, tx_wait_num, false, sdma);
699 }
700
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 52764 bytes --]
next prev parent reply other threads:[~2020-09-11 0:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-10 15:00 [net-next v8 0/6] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX3255 (AC3x) Vadym Kochan
2020-09-10 15:00 ` [net-next v8 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices Vadym Kochan
2020-09-11 0:09 ` kernel test robot [this message]
2020-09-11 1:30 ` Jakub Kicinski
2020-09-11 7:02 ` Vadym Kochan
2020-09-10 15:00 ` [net-next v8 2/6] net: marvell: prestera: Add PCI interface support Vadym Kochan
2020-09-10 15:00 ` [net-next v8 3/6] net: marvell: prestera: Add basic devlink support Vadym Kochan
2020-09-10 15:00 ` [net-next v8 4/6] net: marvell: prestera: Add ethtool interface support Vadym Kochan
2020-09-10 15:00 ` [net-next v8 5/6] net: marvell: prestera: Add Switchdev driver implementation Vadym Kochan
2020-09-10 15:00 ` [net-next v8 6/6] dt-bindings: marvell,prestera: Add description for device-tree bindings Vadym Kochan
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=202009110817.u1cvbKSS%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.