Re: hwmon: (f71882fg) Add f81866/f71868 SuperIO support

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

 



On Tue, Jul 07, 2015 at 09:19:03AM +0800, Peter Hung wrote:
> Hi Dan,
> 
> Dan Carpenter 於 2015/7/6 下午 11:35 寫道:
> > But this array still only has 9 elements.
> > 
> >    2426                                  if (err)
> >    2427                                          goto exit_unregister_sysfs;
> >    2428                          }
> >    2429                  }
> 
> Could you tell me what static code analysis tools
> did you use to generate this report?
> 
> I had tried with sparse and use make C=2 <driver dir>
> but I got no warning.

This was a Smatch thing:

~/path/to/smatch/smatch_scripts/kchecker drivers/hwmon/f71882fg.c

regards,
dan carpenter

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux