[hwmon:hwmon-playground 130/134] drivers/hwmon/max6650.c:602:10: sparse: symbol 'max6650_pwm_modes' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-playground
head:   05d763050bbaa40daa4b60a3912c9311ca5791a5
commit: 77d270a1d4db919db0b02fec1d85ad5a57d556d7 [130/134] hwmon: (max6650) Convert to use devm_hwmon_device_register_with_info
reproduce:
        # apt-get install sparse
        git checkout 77d270a1d4db919db0b02fec1d85ad5a57d556d7
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>



sparse warnings: (new ones prefixed by >>)

   drivers/hwmon/max6650.c:160:16: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:160:16: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:160:16: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:160:16: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:160:16: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:160:16: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:160:16: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:280:15: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:280:15: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:280:15: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:280:15: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:280:15: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:280:15: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:280:15: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:490:17: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:490:17: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:490:17: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:490:17: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:490:17: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:490:17: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:490:17: sparse: expression using sizeof(void)
>> drivers/hwmon/max6650.c:602:10: sparse: symbol 'max6650_pwm_modes' was not declared. Should it be static?
   drivers/hwmon/max6650.c:622:42: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:622:42: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:622:42: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:622:42: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:622:42: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:622:42: sparse: expression using sizeof(void)
   drivers/hwmon/max6650.c:622:42: sparse: expression using sizeof(void)

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux