Messages in this thread | | | Date | Fri, 12 Jun 2020 14:31:48 +0800 | From | kernel test robot <> | Subject | net/sunrpc/svcsock.c:226:5: warning: "ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE" is not defined |
| |
Hi Chuck,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b791d1bdf9212d944d749a5c7ff6febdba241771 commit: ca07eda33e01eafa7a26ec06974f7eacee6a89c8 SUNRPC: Refactor svc_recvfrom() date: 3 weeks ago config: i386-randconfig-r016-20200612 (attached as .config) compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 reproduce (this is a W=1 build): git checkout ca07eda33e01eafa7a26ec06974f7eacee6a89c8 # save the attached .config to linux build tree make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> net/sunrpc/svcsock.c:226:5: warning: "ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE" is not defined [-Wundef] #if ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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@lists.01.org [unhandled content-type:application/gzip] | |