Re: [lm-sensors] [PATCH 6/8] hwmon: applesmc: Dynamic creation offan files

From: Henrik Rydberg
Date: Fri Nov 05 2010 - 04:56:54 EST


>> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/