[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201704261819.G7mMLWY1%fengguang.wu@intel.com>
Date: Wed, 26 Apr 2017 18:07:08 +0800
From: kbuild test robot <lkp@...el.com>
To: lixiubo@...s.chinamobile.com
Cc: kbuild-all@...org, mchristi@...hat.com, nab@...ux-iscsi.org,
agrover@...hat.com, iliastsi@...ikto.com, namei.unix@...il.com,
sheng@...ker.org, linux-scsi@...r.kernel.org,
target-devel@...r.kernel.org, linux-kernel@...r.kernel.org,
Xiubo Li <lixiubo@...s.chinamobile.com>,
Jianfei Hu <hujianfei@...s.chinamobile.com>
Subject: Re: [PATCH v6 2/2] tcmu: Add global data block pool support
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@...ches.com>
:::::: CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (50029 bytes)
Powered by blists - more mailing lists