tree: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master head: 2c16d60332643e90d4fa244f4a706c454b8c7569 commit: 43da04a593d8b2626f1cf4b56efe9402f6b53652 [36/48] netfilter: nf_tables: atomic dump and reset for stateful objects config: sh-allmodconfig (attached as .config) compiler: sh4-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 git checkout 43da04a593d8b2626f1cf4b56efe9402f6b53652 # save the attached .config to linux build tree make.cross ARCH=sh
All errors (new ones prefixed by >>):
net/netfilter/nft_counter.c: In function '__nft_counter_reset':
>> net/netfilter/nft_counter.c:131:9: error: implicit declaration of function
>> 'cmpxchg64' [-Werror=implicit-function-declaration]
ret = cmpxchg64(counter, old, 0);
^~~~~~~~~
cc1: some warnings being treated as errors
vim +/cmpxchg64 +131 net/netfilter/nft_counter.c
125 static u64 __nft_counter_reset(u64 *counter)
126 {
127 u64 ret, old;
128
129 do {
130 old = *counter;
> 131 ret = cmpxchg64(counter, old, 0);
132 } while (ret != old);
133
134 return ret;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
