[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CD3C6BB.4010601@euromail.se>
Date: Fri, 05 Nov 2010 09:56:27 +0100
From: Henrik Rydberg <rydberg@...omail.se>
To: Guenter Roeck <guenter.roeck@...csson.com>
CC: Jean Delvare <khali@...ux-fr.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"lm-sensors@...sensors.org" <lm-sensors@...sensors.org>
Subject: Re: [lm-sensors] [PATCH 6/8] hwmon: applesmc: Dynamic creation of
fan files
>> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists