lkml.org 
[lkml]   [2010]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-11-05 09:59    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean