Re: [PATCH 2/4] hwmon-f71882fg: Cleanup sysfs attr creation 2/2

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

 



On Wed, 28 Oct 2009 10:26:00 +0100, Hans de Goede wrote:
> > As a side note, I don't think "fxxxx_fan_attr" or
> > "&fxxxx_fan_attr[0][0]" make any difference.
> >
> 
> I would expect the type of fxxxx_fan_attr to be a *foo[] and not a *foo,
> and thus to get a compiler warning, but you might be right, I didn't try.

Hmm, you're right, I get a warning with fxxxx_fan_attr. Apparently I
lost an opportunity to keep my mouth closed ;)

-- 
Jean Delvare

_______________________________________________
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