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    [W:0.131 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site