[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201609131117.HQilr7GR%fengguang.wu@intel.com>
Date: Tue, 13 Sep 2016 11:57:39 +0800
From: kbuild test robot <lkp@...el.com>
To: Peng Sun <sironhide0null@...il.com>
Cc: kbuild-all@...org, liodot@...il.com, charrer@...critech.com,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
Peng Sun <sironhide0null@...il.com>
Subject: Re: [PATCH 1/1] staging: slicoss: slicoss.c: fix different address
space sparse warnings
Hi Peng,
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on next-20160912]
[cannot apply to v4.8-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Peng-Sun/staging-slicoss-slicoss-c-fix-different-address-space-sparse-warnings/20160913-112524
config: i386-randconfig-x010-201637 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
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:1022:5: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration]
readq((char __iomem *)stats +
^
drivers/staging/slicoss/slic.h:552:19: note: in definition of macro 'UPDATE_STATS_GB'
(largestat) += ((newstat) - (oldstat)); \
^~~~~~~
cc1: some warnings being treated as errors
vim +/readq +1022 drivers/staging/slicoss/slicoss.c
1016 dev_err(&adapter->netdev->dev,
1017 "SLIC_UPR_STATS command failed isr[%x]\n", isr);
1018 break;
1019 }
1020
1021 UPDATE_STATS_GB(stst->tcp.xmit_tcp_segs,
> 1022 readq((char __iomem *)stats +
1023 offsetof(struct slic_stats,
1024 xmit_tcp_segs)),
1025 old->xmit_tcp_segs);
---
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/octet-stream" (28414 bytes)
Powered by blists - more mailing lists