mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/hwmon/bt1-pvt.c:303:16: warning: no previous declaration for 'pvt_limit_is_visible'
@ 2020-06-05 12:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-05 12:40 UTC (permalink / raw)
  To: Serge Semin; +Cc: kbuild-all, linux-kernel, Guenter Roeck, Maxim Kaurkin

[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37669 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-05 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 12:40 drivers/hwmon/bt1-pvt.c:303:16: warning: no previous declaration for 'pvt_limit_is_visible' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome