tree:
https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
hwmon-next
head: 9b9f1e670d2c61c676039474fd2d98ca0a54ff75
commit: 19d8ebde288924d3385763832ea99396c8b4fe8c [32/33] hwmon: (powr1220) Upgrade driver
to support hwmon info infrastructure
config: hexagon-randconfig-r032-20220123
(
https://download.01.org/0day-ci/archive/20220124/202201241605.pf50OsUm-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
9006bf424847bf91f0a624ffc27ad165c7b804c4)
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://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/...
git remote add groeck-staging
https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
git fetch --no-tags groeck-staging hwmon-next
git checkout 19d8ebde288924d3385763832ea99396c8b4fe8c
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=hexagon SHELL=/bin/bash drivers/hwmon/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/hwmon/powr1220.c:185:2: warning: unannotated fall-through
between switch labels [-Wimplicit-fallthrough]
default:
^
drivers/hwmon/powr1220.c:185:2: note: insert 'break;' to avoid fall-through
default:
^
break;
1 warning generated.
vim +185 drivers/hwmon/powr1220.c
169
170 static umode_t
171 powr1220_is_visible(const void *data, enum hwmon_sensor_types type, u32
172 attr, int channel)
173 {
174 switch (type) {
175 case hwmon_in:
176 switch (attr) {
177 case hwmon_in_input:
178 case hwmon_in_highest:
179 case hwmon_in_label:
180 return 0444;
181 default:
182 break;
183 }
184
185 default:
186 break;
187 }
188
189 return 0;
190 }
191
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org