Search Linux Wireless

Re: [PATCH] rt2x00: rt2800lib: remove trailing semicolons from RFCSR3_* defines

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

 




Sent from my iPad

On 2 dec. 2012, at 16:24, Gabor Juhos <juhosg@xxxxxxxxxxx> wrote:

> Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx>

Ouch, that could have led to some nasty bugs. Thanks for spotting this and sending the patch.

Acked-by: Gertjan van Wingerde <gwingerde@xxxxxxxxx>

> ---
> drivers/net/wireless/rt2x00/rt2800.h |    4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h
> index 6d67c3e..1157b06 100644
> --- a/drivers/net/wireless/rt2x00/rt2800.h
> +++ b/drivers/net/wireless/rt2x00/rt2800.h
> @@ -1993,8 +1993,8 @@ struct mac_iveiv_entry {
>  */
> #define RFCSR3_K            FIELD8(0x0f)
> /* Bits [7-4] for RF3320 (RT3370/RT3390), on other chipsets reserved */
> -#define RFCSR3_PA1_BIAS_CCK        FIELD8(0x70);
> -#define RFCSR3_PA2_CASCODE_BIAS_CCKK    FIELD8(0x80);
> +#define RFCSR3_PA1_BIAS_CCK        FIELD8(0x70)
> +#define RFCSR3_PA2_CASCODE_BIAS_CCKK    FIELD8(0x80)
> 
> /*
>  * FRCSR 5:
> -- 
> 1.7.10
> 
> --
> 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
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux