Hi Denis,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on groeck-staging/hwmon-next]
[also build test ERROR on v5.15-rc1 next-20210916]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Denis-Pauk/hwmon-Support-access-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
hwmon-next
config: openrisc-buildonly-randconfig-r005-20210916 (attached as .config)
compiler: or1k-linux-gcc (GCC) 11.2.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/1385f6f898c84efc2f4a9c44107f5a544...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Denis-Pauk/hwmon-Support-access-to-the-NCT677x-via-Asus-WMI/20210916-044449
git checkout 1385f6f898c84efc2f4a9c44107f5a544a771256
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/hwmon/nct6775.c: In function 'nct6775_wmi_read_value':
> drivers/hwmon/nct6775.c:200:13: error: 'tmp' is used
uninitialized [-Werror=uninitialized]
200 | u32 tmp;
| ^~~
cc1: all warnings being treated as errors
vim +/tmp +200 drivers/hwmon/nct6775.c
197
198 static inline int nct6775_asuswmi_read(u8 bank, u8 reg, u8 *val)
199 {
200 u32 tmp;
201 int ret =
asuswmi_evaluate_method(ASUSWMI_METHODID_RHWM, bank,
202 reg, 0, &tmp);
203 *val = tmp;
204 return ret;
205 }
206
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org