From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0462508203630192061==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [jimc:v4 1/6] 507 | pr_debug("%s: error: device does not provide dax" Date: Fri, 17 Dec 2021 13:05:30 +0800 Message-ID: <202112171231.MmtDFl5f-lkp@intel.com> List-Id: --===============0462508203630192061== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://github.com/jimc/linux.git v4 head: 89f19988c1d662bed597c2a0f406eaae0841c32e commit: babbf20e143278c56529e84aa7af61dfb01ff25c [1/6] dyndbg: add _DPRINTK= _FLAGS_ENABLED config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20211217/2= 02112171231.MmtDFl5f-lkp(a)intel.com/config) compiler: sh4-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/jimc/linux/commit/babbf20e143278c56529e84aa7af= 61dfb01ff25c git remote add jimc https://github.com/jimc/linux.git git fetch --no-tags jimc v4 git checkout babbf20e143278c56529e84aa7af61dfb01ff25c # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dsh SHELL=3D/bin/bash drivers/dax/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/dax/super.c:375:6: warning: no previous prototype for 'run_dax' = [-Wmissing-prototypes] 375 | void run_dax(struct dax_device *dax_dev) | ^~~~~~~ In file included from include/asm-generic/bug.h:5, from arch/sh/include/asm/bug.h:112, from include/linux/bug.h:5, from include/linux/mmdebug.h:5, from include/linux/mm.h:9, from include/linux/pagemap.h:8, from drivers/dax/super.c:5: drivers/dax/super.c: In function 'alloc_dax': include/linux/dynamic_debug.h:128:37: error: '_DPRINTK_FLAGS_ENABLE' und= eclared (first use in this function) 128 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLE) | ^~~~~~~~~~~~~~~~~~~~~ include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ include/linux/dynamic_debug.h:135:13: note: in expansion of macro 'DYNAM= IC_DEBUG_BRANCH' 135 | if (DYNAMIC_DEBUG_BRANCH(id)) \ | ^~~~~~~~~~~~~~~~~~~~ include/linux/dynamic_debug.h:154:9: note: in expansion of macro '__dyna= mic_func_call' 154 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__= VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ include/linux/dynamic_debug.h:164:9: note: in expansion of macro '_dynam= ic_func_call' 164 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ include/linux/printk.h:574:9: note: in expansion of macro 'dynamic_pr_de= bug' 574 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/dax/super.c:507:17: note: in expansion of macro 'pr_debug' >> 507 | pr_debug("%s: error: device does not provide dax" | ^~~~~~~~ include/linux/dynamic_debug.h:128:37: note: each undeclared identifier i= s reported only once for each function it appears in 128 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLE) | ^~~~~~~~~~~~~~~~~~~~~ include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ include/linux/dynamic_debug.h:135:13: note: in expansion of macro 'DYNAM= IC_DEBUG_BRANCH' 135 | if (DYNAMIC_DEBUG_BRANCH(id)) \ | ^~~~~~~~~~~~~~~~~~~~ include/linux/dynamic_debug.h:154:9: note: in expansion of macro '__dyna= mic_func_call' 154 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__= VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ include/linux/dynamic_debug.h:164:9: note: in expansion of macro '_dynam= ic_func_call' 164 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ include/linux/printk.h:574:9: note: in expansion of macro 'dynamic_pr_de= bug' 574 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ drivers/dax/super.c:507:17: note: in expansion of macro 'pr_debug' >> 507 | pr_debug("%s: error: device does not provide dax" | ^~~~~~~~ --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0462508203630192061==--