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-c1-0620 (attached as .config) All warnings: In file included from include/linux/init.h:4:0, from crypto/zlib.c:25: crypto/zlib.c: In function 'zlib_compress_update': >> include/linux/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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/compiler.h:109:18: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'uLong' [-Wformat=] static struct ftrace_branch_data \ ^ include/linux/compiler.h:131:58: note: in expansion of macro '__branch_check__' # define unlikely(x) (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0)) ^ include/linux/dynamic_debug.h:77:6: note: in expansion of macro 'unlikely' if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)) \ ^ 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 +109 include/linux/compiler.h 2bcd521a Steven Rostedt 2008-11-21 93 }; 1f0d69a9 Steven Rostedt 2008-11-12 94 }; 2ed84eeb Steven Rostedt 2008-11-12 95 2ed84eeb Steven Rostedt 2008-11-12 96 /* 2ed84eeb Steven Rostedt 2008-11-12 97 * Note: DISABLE_BRANCH_PROFILING can be used by special lowlevel code 2ed84eeb Steven Rostedt 2008-11-12 98 * to disable branch tracing on a per file basis. 2ed84eeb Steven Rostedt 2008-11-12 99 */ d9ad8bc0 Bart Van Assche 2009-04-05 100 #if defined(CONFIG_TRACE_BRANCH_PROFILING) \ d9ad8bc0 Bart Van Assche 2009-04-05 101 && !defined(DISABLE_BRANCH_PROFILING) && !defined(__CHECKER__) 2ed84eeb Steven Rostedt 2008-11-12 102 void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect); 1f0d69a9 Steven Rostedt 2008-11-12 103 1f0d69a9 Steven Rostedt 2008-11-12 104 #define likely_notrace(x) __builtin_expect(!!(x), 1) 1f0d69a9 Steven Rostedt 2008-11-12 105 #define unlikely_notrace(x) __builtin_expect(!!(x), 0) 1f0d69a9 Steven Rostedt 2008-11-12 106 45b79749 Steven Rostedt 2008-11-21 107 #define __branch_check__(x, expect) ({ \ 1f0d69a9 Steven Rostedt 2008-11-12 108 int ______r; \ 2ed84eeb Steven Rostedt 2008-11-12 @109 static struct ftrace_branch_data \ 1f0d69a9 Steven Rostedt 2008-11-12 110 __attribute__((__aligned__(4))) \ 45b79749 Steven Rostedt 2008-11-21 111 __attribute__((section("_ftrace_annotated_branch"))) \ 1f0d69a9 Steven Rostedt 2008-11-12 112 ______f = { \ 1f0d69a9 Steven Rostedt 2008-11-12 113 .func = __func__, \ 1f0d69a9 Steven Rostedt 2008-11-12 114 .file = __FILE__, \ 1f0d69a9 Steven Rostedt 2008-11-12 115 .line = __LINE__, \ 1f0d69a9 Steven Rostedt 2008-11-12 116 }; \ 1f0d69a9 Steven Rostedt 2008-11-12 117 ______r = likely_notrace(x); \ :::::: The code at line 109 was first introduced by commit :::::: 2ed84eeb8808cf3c9f039213ca137ffd7d753f0e trace: rename unlikely profiler to branch profiler :::::: TO: Steven Rostedt :::::: CC: Ingo Molnar --- 0-DAY kernel build testing backend Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation