[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201611131519.dBI9FxeQ%fengguang.wu@intel.com>
Date: Sun, 13 Nov 2016 15:13:08 +0800
From: kbuild test robot <lkp@...el.com>
To: Lino Sanfilippo <LinoSanfilippo@....de>
Cc: kbuild-all@...org, davem@...emloft.net, charrer@...critech.com,
liodot@...il.com, gregkh@...uxfoundation.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, Lino Sanfilippo <LinoSanfilippo@....de>
Subject: Re: [net-next 1/2] net: ethernet: slicoss: add slicoss gigabit
ethernet driver
Hi Lino,
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Lino-Sanfilippo/net-ethernet-slicoss-add-slicoss-gigabit-ethernet-driver/20161113-125131
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=alpha
All warnings (new ones prefixed by >>):
drivers/staging/slicoss/slicoss.c: In function 'slic_cmdq_addcmdpage':
>> drivers/staging/slicoss/slicoss.c:1258:2: warning: 'virt_to_bus' is deprecated [-Wdeprecated-declarations]
phys_addr = virt_to_bus((void *)page);
^~~~~~~~~
In file included from include/linux/io.h:25:0,
from include/linux/irq.h:24,
from include/asm-generic/hardirq.h:12,
from arch/alpha/include/asm/hardirq.h:7,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from drivers/staging/slicoss/slicoss.c:71:
arch/alpha/include/asm/io.h:114:42: note: declared here
static inline unsigned long __deprecated virt_to_bus(void *address)
^~~~~~~~~~~
vim +/virt_to_bus +1258 drivers/staging/slicoss/slicoss.c
4d6ea9c3 Denis Kirjanov 2010-07-10 1242 struct slic_hostcmd *cmd;
4d6ea9c3 Denis Kirjanov 2010-07-10 1243 struct slic_hostcmd *prev;
4d6ea9c3 Denis Kirjanov 2010-07-10 1244 struct slic_hostcmd *tail;
4d6ea9c3 Denis Kirjanov 2010-07-10 1245 struct slic_cmdqueue *cmdq;
4d6ea9c3 Denis Kirjanov 2010-07-10 1246 int cmdcnt;
4d6ea9c3 Denis Kirjanov 2010-07-10 1247 void *cmdaddr;
4d6ea9c3 Denis Kirjanov 2010-07-10 1248 ulong phys_addr;
4d6ea9c3 Denis Kirjanov 2010-07-10 1249 u32 phys_addrl;
4d6ea9c3 Denis Kirjanov 2010-07-10 1250 u32 phys_addrh;
4d6ea9c3 Denis Kirjanov 2010-07-10 1251 struct slic_handle *pslic_handle;
eafe6002 David Matlack 2015-05-11 1252 unsigned long flags;
4d6f6af8 Greg Kroah-Hartman 2008-03-19 1253
4d6ea9c3 Denis Kirjanov 2010-07-10 1254 cmdaddr = page;
dd146d21 Shraddha Barke 2015-10-15 1255 cmd = cmdaddr;
4d6ea9c3 Denis Kirjanov 2010-07-10 1256 cmdcnt = 0;
4d6f6af8 Greg Kroah-Hartman 2008-03-19 1257
4d6ea9c3 Denis Kirjanov 2010-07-10 @1258 phys_addr = virt_to_bus((void *)page);
4d6ea9c3 Denis Kirjanov 2010-07-10 1259 phys_addrl = SLIC_GET_ADDR_LOW(phys_addr);
4d6ea9c3 Denis Kirjanov 2010-07-10 1260 phys_addrh = SLIC_GET_ADDR_HIGH(phys_addr);
4d6f6af8 Greg Kroah-Hartman 2008-03-19 1261
4d6ea9c3 Denis Kirjanov 2010-07-10 1262 prev = NULL;
4d6ea9c3 Denis Kirjanov 2010-07-10 1263 tail = cmd;
4d6ea9c3 Denis Kirjanov 2010-07-10 1264 while ((cmdcnt < SLIC_CMDQ_CMDSINPAGE) &&
4d6ea9c3 Denis Kirjanov 2010-07-10 1265 (adapter->slic_handle_ix < 256)) {
4d6ea9c3 Denis Kirjanov 2010-07-10 1266 /* Allocate and initialize a SLIC_HANDLE for this command */
:::::: The code at line 1258 was first introduced by commit
:::::: 4d6ea9c3223da8d8dc91b369087fa40cc53edd36 Staging: slicoss: kill functions prototypes and reorder functions
:::::: TO: Denis Kirjanov <dkirjanov@...a.kernel.org>
:::::: CC: Greg Kroah-Hartman <gregkh@...e.de>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (47959 bytes)
Powered by blists - more mailing lists