All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
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	[thread overview]
Message-ID: <202112171231.MmtDFl5f-lkp@intel.com> (raw)

[-- 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

                 reply	other threads:[~2021-12-17  5:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202112171231.MmtDFl5f-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.