tree: git://anongit.freedesktop.org/drm-intel for-linux-next head: 886c6b8692ba5f71b578097524b3b082e2e02119 commit: 39bf4de89ff7c87a2205e7ec5483e7424b86a1f6 [14/15] drm/i915: Add -Wall -Wextra to our build, set warnings to full config: i386-randconfig-x0-10270203 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 39bf4de89ff7c87a2205e7ec5483e7424b86a1f6 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:293:3: note: in expansion of macro 'if' if (len >= p_size) ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:291:3: note: in expansion of macro 'if' if (__builtin_constant_p(len) && len >= p_size) ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:289:2: note: in expansion of macro 'if' if (size) { ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlcpy' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:286:2: note: in expansion of macro 'if' if (p_size == (size_t)-1 && q_size == (size_t)-1) ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strnlen' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:274:2: note: in expansion of macro 'if' if (p_size <= ret && maxlen != ret) ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlen' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:264:2: note: in expansion of macro 'if' if (p_size <= ret) ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strlen' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:261:2: note: in expansion of macro 'if' if (p_size == (size_t)-1) ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strcat' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:252:2: note: in expansion of macro 'if' if (strlcat(p, q, p_size) >= p_size) ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strcat' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:250:2: note: in expansion of macro 'if' if (p_size == (size_t)-1) ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strncpy' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:242:2: note: in expansion of macro 'if' if (p_size < size) ^~ include/linux/compiler.h:162:4: warning: '______f' is static but declared in inline function 'strncpy' which is not static ______f = { \ ^ include/linux/compiler.h:154:23: note: in expansion of macro '__trace_if' #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) ^~~~~~~~~~ include/linux/string.h:240:2: note: in expansion of macro 'if' if (__builtin_constant_p(size) && p_size < size) ^~ >> cc1: warning: unrecognized command line option '-Wno-implicit-fallthrough' --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx