* [linux-next:master 10476/14131] net/sunrpc/svcsock.c:226:5: warning: 'ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE' is not defined, evaluates to 0
@ 2020-06-01 11:32 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-06-01 11:32 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3061 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e7b08814b16b80a0bf76eeca16317f8c2ed23b8c
commit: ca07eda33e01eafa7a26ec06974f7eacee6a89c8 [10476/14131] SUNRPC: Refactor svc_recvfrom()
config: i386-randconfig-a013-20200601 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
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
# install i386 cross compiling tool for clang build
# apt-get install binutils-i386-linux-gnu
git checkout ca07eda33e01eafa7a26ec06974f7eacee6a89c8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
clang-11: warning: optimization flag '-falign-jumps=0' is not supported [-Wignored-optimization-argument]
clang-11: warning: optimization flag '-falign-loops=0' is not supported [-Wignored-optimization-argument]
In file included from net/sunrpc/svcsock.c:24:
In file included from include/linux/sched.h:14:
In file included from include/linux/pid.h:5:
In file included from include/linux/rculist.h:11:
In file included from include/linux/rcupdate.h:27:
In file included from include/linux/preempt.h:78:
In file included from arch/x86/include/asm/preempt.h:7:
In file included from include/linux/thread_info.h:38:
arch/x86/include/asm/thread_info.h:190:13: warning: calling '__builtin_frame_address' with a nonzero argument is unsafe [-Wframe-address]
oldframe = __builtin_frame_address(1);
^~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/thread_info.h:192:11: warning: calling '__builtin_frame_address' with a nonzero argument is unsafe [-Wframe-address]
frame = __builtin_frame_address(2);
^~~~~~~~~~~~~~~~~~~~~~~~~~
>> net/sunrpc/svcsock.c:226:5: warning: 'ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE' is not defined, evaluates to 0 [-Wundef]
#if ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE
^
3 warnings generated.
vim +/ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE +226 net/sunrpc/svcsock.c
225
> 226 #if ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE
227 static void svc_flush_bvec(const struct bio_vec *bvec, size_t size, size_t seek)
228 {
229 struct bvec_iter bi = {
230 .bi_size = size,
231 };
232 struct bio_vec bv;
233
234 bvec_iter_advance(bvec, &bi, seek & PAGE_MASK);
235 for_each_bvec(bv, bvec, bi, bi)
236 flush_dcache_page(bv.bv_page);
237 }
238 #else
239 static inline void svc_flush_bvec(const struct bio_vec *bvec, size_t size,
240 size_t seek)
241 {
242 }
243 #endif
244
---
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: 30002 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-01 11:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 11:32 [linux-next:master 10476/14131] net/sunrpc/svcsock.c:226:5: warning: 'ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE' is not defined, evaluates to 0 kbuild test robot
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.