[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202006052055.3J9MES3h%lkp@intel.com>
Date: Fri, 5 Jun 2020 20:40:58 +0800
From: kernel test robot <lkp@...el.com>
To: Serge Semin <Sergey.Semin@...kalelectronics.ru>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Guenter Roeck <linux@...ck-us.net>,
Maxim Kaurkin <maxim.kaurkin@...kalelectronics.ru>
Subject: drivers/hwmon/bt1-pvt.c:303:16: warning: no previous declaration for
'pvt_limit_is_visible'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 435faf5c218a47fd6258187f62d9bb1009717896
commit: 87976ce2825d9f1ca2e70ee7d38dec490ad5a6e2 hwmon: Add Baikal-T1 PVT sensor driver
date: 8 days ago
config: i386-randconfig-r016-20200605 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce (this is a W=1 build):
git checkout 87976ce2825d9f1ca2e70ee7d38dec490ad5a6e2
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/hwmon/bt1-pvt.c:303:16: warning: no previous declaration for 'pvt_limit_is_visible' [-Wmissing-declarations]
inline umode_t pvt_limit_is_visible(enum pvt_sensor_type type)
^
>> drivers/hwmon/bt1-pvt.c:308:16: warning: no previous declaration for 'pvt_alarm_is_visible' [-Wmissing-declarations]
inline umode_t pvt_alarm_is_visible(enum pvt_sensor_type type)
^
vim +/pvt_limit_is_visible +303 drivers/hwmon/bt1-pvt.c
302
> 303 inline umode_t pvt_limit_is_visible(enum pvt_sensor_type type)
304 {
305 return 0644;
306 }
307
> 308 inline umode_t pvt_alarm_is_visible(enum pvt_sensor_type type)
309 {
310 return 0444;
311 }
312
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (37669 bytes)
Powered by blists - more mailing lists