Re: [PATCH] staging: slicoss: fix different address space warnings
From: kbuild test robot
Date: Tue Nov 15 2016 - 14:11:48 EST
Hi Sergio,
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.9-rc5 next-20161115]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Sergio-Paracuellos/staging-slicoss-fix-different-address-space-warnings/20161116-025006
config: i386-randconfig-x003-201646 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from drivers/staging/slicoss/slicoss.c:97:0:
drivers/staging/slicoss/slicoss.c: In function 'slic_upr_request_complete':
>> drivers/staging/slicoss/slicoss.c:1019:5: error: implicit declaration of function 'ioread64' [-Werror=implicit-function-declaration]
ioread64(&stats->xmit_tcp_segs),
^
drivers/staging/slicoss/slic.h:560:19: note: in definition of macro 'UPDATE_STATS_GB'
(largestat) += ((newstat) - (oldstat)); \
^~~~~~~
cc1: some warnings being treated as errors
vim +/ioread64 +1019 drivers/staging/slicoss/slicoss.c
1013 dev_err(&adapter->netdev->dev,
1014 "SLIC_UPR_STATS command failed isr[%x]\n", isr);
1015 break;
1016 }
1017
1018 UPDATE_STATS_GB(stst->tcp.xmit_tcp_segs,
> 1019 ioread64(&stats->xmit_tcp_segs),
1020 old->xmit_tcp_segs);
1021
1022 UPDATE_STATS_GB(stst->tcp.xmit_tcp_bytes,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip