* [jimc:v4 1/6] 507 | pr_debug("%s: error: device does not provide dax"
@ 2021-12-17 5:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-17 5:05 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4744 bytes --]
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/202112171231.MmtDFl5f-lkp(a)intel.com/config)
compiler: sh4-linux-gcc (GCC) 11.2.0
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
# https://github.com/jimc/linux/commit/babbf20e143278c56529e84aa7af61dfb01ff25c
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=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/dax/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
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' undeclared (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 'DYNAMIC_DEBUG_BRANCH'
135 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:154:9: note: in expansion of macro '__dynamic_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 '_dynamic_func_call'
164 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:574:9: note: in expansion of macro 'dynamic_pr_debug'
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 is 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 'DYNAMIC_DEBUG_BRANCH'
135 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:154:9: note: in expansion of macro '__dynamic_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 '_dynamic_func_call'
164 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:574:9: note: in expansion of macro 'dynamic_pr_debug'
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-17 5:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-17 5:05 [jimc:v4 1/6] 507 | pr_debug("%s: error: device does not provide dax" kernel 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.