[kbuild] [thermal:next 2/11] drivers/thermal/thermal_core.c:90 thermal_register_governor() error: strncmp() 'step_wise' too small (10 vs 20)

2014-03-03 Thread kbuild test robot
TO: Zhang Rui rui.zh...@intel.com Hi Zhang, FYI, there are new smatch warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next head: e79ca84d62d289b90cb39c80df83acf9f315a25c commit: 635a1f41a8f95a35d1bf24c9cc018ffb018a93e6 [2/11] Thermal: thermal zone

[kbuild] [thermal:next 2/11] drivers/thermal/thermal_core.c:90 thermal_register_governor() error: strncmp() 'step_wise' too small (10 vs 20)

2014-03-03 Thread Dan Carpenter
Obviously, this isn't a bug. This warning message is printed using a two step process. The first step makes a list of functions where one parameter is the buffer and one parameter is the size. The second step prints a warning if we call one of those functions with a buffer which is smaller than