Hi Benjamin, [auto build test WARNING on nfs/linux-next] [also build test WARNING on v4.11-rc5 next-20170407] [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/Benjamin-Coddington/Skipped-unlocks/20170407-045120 base: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next config: x86_64-randconfig-n0-04081158 (attached as .config) compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): fs/fuse/file.c: In function 'fuse_setlk': fs/fuse/file.c:2171:2: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (fl->fl_flags & FL_CLOSE_POSIX == FL_CLOSE_POSIX) ^ fs/fuse/file.c:2171:2: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/fuse.h:121, from fs/fuse/fuse_i.h:12, from fs/fuse/file.c:9: >> include/linux/compiler.h:163:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] static struct ftrace_branch_data \ ^ include/linux/compiler.h:158:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^ fs/fuse/file.c:2171:2: note: in expansion of macro 'if' if (fl->fl_flags & FL_CLOSE_POSIX == FL_CLOSE_POSIX) ^ -- fs//fuse/file.c: In function 'fuse_setlk': fs//fuse/file.c:2171:2: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (fl->fl_flags & FL_CLOSE_POSIX == FL_CLOSE_POSIX) ^ fs//fuse/file.c:2171:2: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/fuse.h:121, from fs//fuse/fuse_i.h:12, from fs//fuse/file.c:9: >> include/linux/compiler.h:163:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] static struct ftrace_branch_data \ ^ include/linux/compiler.h:158:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^ fs//fuse/file.c:2171:2: note: in expansion of macro 'if' if (fl->fl_flags & FL_CLOSE_POSIX == FL_CLOSE_POSIX) ^ vim +163 include/linux/compiler.h d45ae1f7 Steven Rostedt (VMware 2017-01-17 147) # define likely(x) (__branch_check__(x, 1, __builtin_constant_p(x))) 1f0d69a9 Steven Rostedt 2008-11-12 148 # endif 1f0d69a9 Steven Rostedt 2008-11-12 149 # ifndef unlikely d45ae1f7 Steven Rostedt (VMware 2017-01-17 150) # define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x))) 1f0d69a9 Steven Rostedt 2008-11-12 151 # endif 2bcd521a Steven Rostedt 2008-11-21 152 2bcd521a Steven Rostedt 2008-11-21 153 #ifdef CONFIG_PROFILE_ALL_BRANCHES 2bcd521a Steven Rostedt 2008-11-21 154 /* 2bcd521a Steven Rostedt 2008-11-21 155 * "Define 'is'", Bill Clinton 2bcd521a Steven Rostedt 2008-11-21 156 * "Define 'if'", Steven Rostedt 2bcd521a Steven Rostedt 2008-11-21 157 */ ab3c9c68 Linus Torvalds 2009-04-07 158 #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ab3c9c68 Linus Torvalds 2009-04-07 159 #define __trace_if(cond) \ b33c8ff4 Arnd Bergmann 2016-02-12 160 if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ 2bcd521a Steven Rostedt 2008-11-21 161 ({ \ 2bcd521a Steven Rostedt 2008-11-21 162 int ______r; \ 2bcd521a Steven Rostedt 2008-11-21 @163 static struct ftrace_branch_data \ 2bcd521a Steven Rostedt 2008-11-21 164 __attribute__((__aligned__(4))) \ 2bcd521a Steven Rostedt 2008-11-21 165 __attribute__((section("_ftrace_branch"))) \ 2bcd521a Steven Rostedt 2008-11-21 166 ______f = { \ 2bcd521a Steven Rostedt 2008-11-21 167 .func = __func__, \ 2bcd521a Steven Rostedt 2008-11-21 168 .file = __FILE__, \ 2bcd521a Steven Rostedt 2008-11-21 169 .line = __LINE__, \ 2bcd521a Steven Rostedt 2008-11-21 170 }; \ 2bcd521a Steven Rostedt 2008-11-21 171 ______r = !!(cond); \ :::::: The code at line 163 was first introduced by commit :::::: 2bcd521a684cc94befbe2ce7d5b613c841b0d304 trace: profile all if conditionals :::::: TO: Steven Rostedt <srostedt@xxxxxxxxxx> :::::: CC: Ingo Molnar <mingo@xxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip