CC: kbuild-all(a)lists.01.org TO: Hermann Lauer CC: 0day robot CC: Hermann.Lauer(a)uni-heidelberg.de tree: https://github.com/0day-ci/linux/commits/UPDATE-20210510-214807/Hermann-Lauer-uni-heidelberg-de/axp209-PMIC-setting-constant_charge_current-to-0-disables-battery-charging/20210421-171248 head: 3da345dce6430016b047ab98cecf82f56c74f2e8 commit: 3da345dce6430016b047ab98cecf82f56c74f2e8 power: supply: axp20x_battery: implement writeable status to enable/disable battery charging date: 3 hours ago :::::: branch date: 3 hours ago :::::: commit date: 3 hours ago config: nios2-randconfig-p002-20210510 (attached as .config) compiler: nios2-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/3da345dce6430016b047ab98cecf82f56c74f2e8 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review UPDATE-20210510-214807/Hermann-Lauer-uni-heidelberg-de/axp209-PMIC-setting-constant_charge_current-to-0-disables-battery-charging/20210421-171248 git checkout 3da345dce6430016b047ab98cecf82f56c74f2e8 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=nios2 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/power/supply/axp20x_battery.c: In function 'axp20x_battery_set_prop': drivers/power/supply/axp20x_battery.c:473:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 473 | switch (val->intval) { | ^~~~~~ drivers/power/supply/axp20x_battery.c:484:2: note: here 484 | default: | ^~~~~~~ In file included from include/linux/compiler_types.h:65, from : >> include/linux/compiler_attributes.h:208:41: warning: attribute 'fallthrough' not preceding a case label or default label 208 | # define fallthrough __attribute__((__fallthrough__)) | ^~~~~~~~~~~~~ drivers/power/supply/axp20x_battery.c:482:3: note: in expansion of macro 'fallthrough' 482 | fallthrough; | ^~~~~~~~~~~ vim +/fallthrough +208 include/linux/compiler_attributes.h 294f69e662d157 Joe Perches 2019-10-05 196 294f69e662d157 Joe Perches 2019-10-05 197 /* 294f69e662d157 Joe Perches 2019-10-05 198 * Add the pseudo keyword 'fallthrough' so case statement blocks 294f69e662d157 Joe Perches 2019-10-05 199 * must end with any of these keywords: 294f69e662d157 Joe Perches 2019-10-05 200 * break; 294f69e662d157 Joe Perches 2019-10-05 201 * fallthrough; 294f69e662d157 Joe Perches 2019-10-05 202 * goto