linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: lixiubo@cmss.chinamobile.com
Cc: kbuild-all@01.org, mchristi@redhat.com, nab@linux-iscsi.org,
	agrover@redhat.com, iliastsi@arrikto.com, namei.unix@gmail.com,
	sheng@yasker.org, linux-scsi@vger.kernel.org,
	target-devel@vger.kernel.org, linux-kernel@vger.kernel.org,
	Xiubo Li <lixiubo@cmss.chinamobile.com>,
	Jianfei Hu <hujianfei@cmss.chinamobile.com>
Subject: Re: [PATCH v6 2/2] tcmu: Add global data block pool support
Date: Wed, 26 Apr 2017 18:07:08 +0800	[thread overview]
Message-ID: <201704261819.G7mMLWY1%fengguang.wu@intel.com> (raw)
In-Reply-To: <1493187952-13125-3-git-send-email-lixiubo@cmss.chinamobile.com>

[-- Attachment #1: Type: text/plain, Size: 5308 bytes --]

Hi Xiubo,

[auto build test WARNING on next-20170424]
[also build test WARNING on v4.11-rc8]
[cannot apply to v4.9-rc8 v4.9-rc7 v4.9-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/lixiubo-cmss-chinamobile-com/tcmu-Dynamic-growing-data-area-support/20170426-162910
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:329:0,
                    from include/linux/kernel.h:13,
                    from include/linux/list.h:8,
                    from include/linux/preempt.h:10,
                    from include/linux/spinlock.h:50,
                    from drivers//target/target_core_user.c:21:
   drivers//target/target_core_user.c: In function 'is_ring_space_avail':
>> include/linux/dynamic_debug.h:74:16: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'long unsigned int' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:110:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
     DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, 0, 0)
     ^
   include/linux/dynamic_debug.h:124:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:333:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
   drivers//target/target_core_user.c:575:4: note: in expansion of macro 'pr_debug'
       pr_debug("no data space: only %zu available, but ask for %zu\n",
       ^
--
   In file included from include/linux/printk.h:329:0,
                    from include/linux/kernel.h:13,
                    from include/linux/list.h:8,
                    from include/linux/preempt.h:10,
                    from include/linux/spinlock.h:50,
                    from drivers/target/target_core_user.c:21:
   drivers/target/target_core_user.c: In function 'is_ring_space_avail':
>> include/linux/dynamic_debug.h:74:16: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'long unsigned int' [-Wformat=]
     static struct _ddebug  __aligned(8)   \
                   ^
   include/linux/dynamic_debug.h:110:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_KEY'
     DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, 0, 0)
     ^
   include/linux/dynamic_debug.h:124:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
     DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
     ^
   include/linux/printk.h:333:2: note: in expansion of macro 'dynamic_pr_debug'
     dynamic_pr_debug(fmt, ##__VA_ARGS__)
     ^
   drivers/target/target_core_user.c:575:4: note: in expansion of macro 'pr_debug'
       pr_debug("no data space: only %zu available, but ask for %zu\n",
       ^

vim +74 include/linux/dynamic_debug.h

b48420c1 Jim Cromie  2012-04-27  58  					const char *modname);
b48420c1 Jim Cromie  2012-04-27  59  
cbc46635 Joe Perches 2011-08-11  60  struct device;
cbc46635 Joe Perches 2011-08-11  61  
b9075fa9 Joe Perches 2011-10-31  62  extern __printf(3, 4)
906d2015 Joe Perches 2014-09-24  63  void __dynamic_dev_dbg(struct _ddebug *descriptor, const struct device *dev,
b9075fa9 Joe Perches 2011-10-31  64  		       const char *fmt, ...);
cbc46635 Joe Perches 2011-08-11  65  
ffa10cb4 Jason Baron 2011-08-11  66  struct net_device;
ffa10cb4 Jason Baron 2011-08-11  67  
b9075fa9 Joe Perches 2011-10-31  68  extern __printf(3, 4)
906d2015 Joe Perches 2014-09-24  69  void __dynamic_netdev_dbg(struct _ddebug *descriptor,
ffa10cb4 Jason Baron 2011-08-11  70  			  const struct net_device *dev,
b9075fa9 Joe Perches 2011-10-31  71  			  const char *fmt, ...);
ffa10cb4 Jason Baron 2011-08-11  72  
9049fc74 Jason Baron 2016-08-03  73  #define DEFINE_DYNAMIC_DEBUG_METADATA_KEY(name, fmt, key, init)	\
c0d2af63 Joe Perches 2012-10-18 @74  	static struct _ddebug  __aligned(8)			\
07613b0b Jason Baron 2011-10-04  75  	__attribute__((section("__verbose"))) name = {		\
07613b0b Jason Baron 2011-10-04  76  		.modname = KBUILD_MODNAME,			\
07613b0b Jason Baron 2011-10-04  77  		.function = __func__,				\
07613b0b Jason Baron 2011-10-04  78  		.filename = __FILE__,				\
07613b0b Jason Baron 2011-10-04  79  		.format = (fmt),				\
07613b0b Jason Baron 2011-10-04  80  		.lineno = __LINE__,				\
07613b0b Jason Baron 2011-10-04  81  		.flags = _DPRINTK_FLAGS_DEFAULT,		\
9049fc74 Jason Baron 2016-08-03  82  		dd_key_init(key, init)				\

:::::: The code at line 74 was first introduced by commit
:::::: c0d2af637863940b1a4fb208224ca7acb905c39f dynamic_debug: Remove unnecessary __used

:::::: TO: Joe Perches <joe@perches.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50029 bytes --]

  reply	other threads:[~2017-04-26 10:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-26  6:25 [PATCH v6 0/2] tcmu: Dynamic growing data area support lixiubo
2017-04-26  6:25 ` [PATCH v6 1/2] tcmu: Add dynamic growing data area feature support lixiubo
2017-04-30  5:48   ` Mike Christie
2017-04-30 10:22     ` [PATCH v6 1/2] tcmu: Add dynamic growing data area featuresupport Xiubo Li
2017-05-01 18:37       ` Mike Christie
2017-04-26  6:25 ` [PATCH v6 2/2] tcmu: Add global data block pool support lixiubo
2017-04-26 10:07   ` kbuild test robot [this message]
2017-04-30  7:31   ` Mike Christie
2017-04-30 11:29     ` Xiubo Li
2017-05-01 18:40       ` Mike Christie
2017-05-02  5:26         ` Nicholas A. Bellinger
2017-05-02  5:25 ` [PATCH v6 0/2] tcmu: Dynamic growing data area support Nicholas A. Bellinger
2017-05-02  9:25   ` 答复: " lixiubo

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=201704261819.G7mMLWY1%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=agrover@redhat.com \
    --cc=hujianfei@cmss.chinamobile.com \
    --cc=iliastsi@arrikto.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=lixiubo@cmss.chinamobile.com \
    --cc=mchristi@redhat.com \
    --cc=nab@linux-iscsi.org \
    --cc=namei.unix@gmail.com \
    --cc=sheng@yasker.org \
    --cc=target-devel@vger.kernel.org \
    --subject='Re: [PATCH v6 2/2] tcmu: Add global data block pool support' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).