Search Linux Wireless

Re: [PATCH 11/16] ath9k: Remove "OS_" prefixes in macros.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 30, 2008 at 6:16 PM, Pavel Roskin <proski@xxxxxxx> wrote:
> On Mon, 2008-07-28 at 22:47 -0700, lrodriguez@xxxxxxxxxxx wrote:
>> From: Sujith Manoharan <smanoharan@xxxxxxxxxxx>
>>
>> diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h
>> index 6fa1eb6..c3294c0 100644
>> --- a/drivers/net/wireless/ath9k/ath9k.h
>> +++ b/drivers/net/wireless/ath9k/ath9k.h
>> @@ -622,17 +622,15 @@ struct hal_country_entry {
>>
>>  #define SM(_v, _f)  (((_v) << _f##_S) & _f)
>>  #define MS(_v, _f)  (((_v) & _f) >> _f##_S)
>> -#define OS_REG_RMW(_a, _r, _set, _clr)    \
>> +#define REG_RMW(_a, _r, _set, _clr)    \
>>       REG_WRITE(_a, _r, (REG_READ(_a, _r) & ~(_clr)) | (_set))
>
> I think these are pretty good candidates for inline functions.  I'm not
> sure removing "OS_" is a useful intermediate step.  It's better to keep
> such massive changes to the minimum to avoid potential conflicts with
> other patches.

This was done in response to Johannes comments. This can be moved to
inline though.

  Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux