Re: [PATCH 2/3] Add rfkill support to compal-laptop

From: Alan Jenkins
Date: Tue Aug 18 2009 - 04:33:14 EST


On 8/18/09, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
> Hi Mario,

...

>> +static void compal_rfkill_query(struct rfkill *rfkill, void *data)
>> +{
>> + unsigned long radio = (unsigned long) data;
>> + u8 result;
>> + bool blocked;
>> +
>> + ec_read(COMPAL_EC_COMMAND_WIRELESS, &result);
>> +
>> + if ((result & KILLSWITCH_MASK) == 0)
>> + blocked = 1;
>> + else if (radio == WLAN_MASK)
>> + blocked = !(result & WLAN_MASK);
>
> You are using spaces instead of tabs here.

Btw Mario, scripts/checkpatch.pl is a good way to check for whitespace
errors and a bunch of other trivia. So human patch review can
concentrate on the important stuff :-).

Thanks
Alan
--
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/