tree: git://git.cmpxchg.org/linux-mmotm.git master head: df25ba7db0775d87018e2cd92f26b9b087093840 commit: 0b3f61ac78013e35939696ddd63b9b871d11bf72 [188/230] initramfs: support initramfs that is more than 2G config: x86_64-randconfig-j1-0620 (attached as .config) All warnings: In file included from include/linux/printk.h:257:0, from include/linux/kernel.h:13, from arch/x86/include/asm/percpu.h:44, from arch/x86/include/asm/preempt.h:5, from include/linux/preempt.h:18, from include/linux/spinlock.h:50, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/linux/stat.h:18, from include/linux/module.h:10, from crypto/zlib.c:26: crypto/zlib.c: In function 'zlib_compress_update': include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:171:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:171:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:171:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ crypto/zlib.c: In function 'zlib_compress_final': include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:201:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:201:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:201:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ crypto/zlib.c: In function 'zlib_decompress_update': include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:286:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:286:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:286:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ crypto/zlib.c: In function 'zlib_decompress_final': include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:334:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:334:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ include/linux/dynamic_debug.h:64:16: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uLong' [-Wformat=] static struct _ddebug __aligned(8) \ ^ >> include/linux/dynamic_debug.h:76:2: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA' DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ ^ include/linux/printk.h:263:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^ crypto/zlib.c:334:2: note: in expansion of macro 'pr_debug' pr_debug("avail_in %u, avail_out %u (consumed %u, produced %u)\n", ^ vim +/DEFINE_DYNAMIC_DEBUG_METADATA +76 include/linux/dynamic_debug.h b9075fa9 Joe Perches 2011-10-31 58 extern __printf(3, 4) b9075fa9 Joe Perches 2011-10-31 59 int __dynamic_netdev_dbg(struct _ddebug *descriptor, b9075fa9 Joe Perches 2011-10-31 60 const struct net_device *dev, b9075fa9 Joe Perches 2011-10-31 61 const char *fmt, ...); ffa10cb4 Jason Baron 2011-08-11 62 07613b0b Jason Baron 2011-10-04 63 #define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) \ c0d2af63 Joe Perches 2012-10-18 @64 static struct _ddebug __aligned(8) \ 07613b0b Jason Baron 2011-10-04 65 __attribute__((section("__verbose"))) name = { \ 07613b0b Jason Baron 2011-10-04 66 .modname = KBUILD_MODNAME, \ 07613b0b Jason Baron 2011-10-04 67 .function = __func__, \ 07613b0b Jason Baron 2011-10-04 68 .filename = __FILE__, \ 07613b0b Jason Baron 2011-10-04 69 .format = (fmt), \ 07613b0b Jason Baron 2011-10-04 70 .lineno = __LINE__, \ 07613b0b Jason Baron 2011-10-04 71 .flags = _DPRINTK_FLAGS_DEFAULT, \ 07613b0b Jason Baron 2011-10-04 72 } 07613b0b Jason Baron 2011-10-04 73 07613b0b Jason Baron 2011-10-04 74 #define dynamic_pr_debug(fmt, ...) \ 07613b0b Jason Baron 2011-10-04 75 do { \ 07613b0b Jason Baron 2011-10-04 @76 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ 87e6f968 Jim Cromie 2011-12-19 77 if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ 07613b0b Jason Baron 2011-10-04 78 __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ 07613b0b Jason Baron 2011-10-04 79 ##__VA_ARGS__); \ :::::: The code at line 76 was first introduced by commit :::::: 07613b0b5ef8570033aa806d1731dce599862223 dynamic_debug: consolidate repetitive struct _ddebug descriptor definitions :::::: TO: Jason Baron :::::: CC: Greg Kroah-Hartman --- 0-DAY kernel build testing backend Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation