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

Jean Delvare khali at linux-fr.org
Wed Oct 28 10:32:15 CET 2009


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




More information about the lm-sensors mailing list