[lm-sensors] [PATCH 6/8] hwmon: applesmc: Dynamic creation of fan files

Henrik Rydberg rydberg at euromail.se
Fri Nov 5 09:56:27 CET 2010


>>  static int applesmc_init_smcreg_try(void)

>>  {
>>         struct applesmc_registers *s = &smcreg;
>> +       u8 tmp[4];
> 
> Why tmp[4] if you only read one byte ?


Alignment optimization, perhaps? :-) I'll change it.

Thanks,
Henrik




More information about the lm-sensors mailing list