Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1314346

Re: [PATCH] net: wireless: rt2x00: Fixed Spacing issues

From Helmut Schaa <helmut.schaa@googlemail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] net: wireless: rt2x00: Fixed Spacing issues
Date 2016-01-21 18:00 +0100
Message-ID <qTqKu-7ZR-23@gated-at.bofh.it> (permalink)
References <qkFXI-7UL-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Oct 17, 2015 at 10:04 PM, Paul McQuade <paulmcquad@gmail.com> wrote:
> Removed empty spaces before/after parenthesis
>
> Signed-off-by: Paul McQuade <paulmcquad@gmail.com>

Just noticed these did not get applied by Kalle yet.

Looks good to me.

Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>

> ---
>  drivers/net/wireless/rt2x00/rt61pci.h | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt61pci.h b/drivers/net/wireless/rt2x00/rt61pci.h
> index 1442075..ab86415 100644
> --- a/drivers/net/wireless/rt2x00/rt61pci.h
> +++ b/drivers/net/wireless/rt2x00/rt61pci.h
> @@ -138,14 +138,14 @@
>  #define PAIRWISE_TA_TABLE_BASE         0x1a00
>
>  #define SHARED_KEY_ENTRY(__idx) \
> -       ( SHARED_KEY_TABLE_BASE + \
> -               ((__idx) * sizeof(struct hw_key_entry)) )
> +       (SHARED_KEY_TABLE_BASE + \
> +               ((__idx) * sizeof(struct hw_key_entry)))
>  #define PAIRWISE_KEY_ENTRY(__idx) \
> -       ( PAIRWISE_KEY_TABLE_BASE + \
> -               ((__idx) * sizeof(struct hw_key_entry)) )
> +       (PAIRWISE_KEY_TABLE_BASE + \
> +               ((__idx) * sizeof(struct hw_key_entry)))
>  #define PAIRWISE_TA_ENTRY(__idx) \
> -       ( PAIRWISE_TA_TABLE_BASE + \
> -               ((__idx) * sizeof(struct hw_pairwise_ta_entry)) )
> +       (PAIRWISE_TA_TABLE_BASE + \
> +               ((__idx) * sizeof(struct hw_pairwise_ta_entry)))
>
>  struct hw_key_entry {
>         u8 key[16];
> @@ -180,7 +180,7 @@ struct hw_pairwise_ta_entry {
>  #define HW_BEACON_BASE3                        0x2f00
>
>  #define HW_BEACON_OFFSET(__index) \
> -       ( HW_BEACON_BASE0 + (__index * 0x0100) )
> +       (HW_BEACON_BASE0 + (__index * 0x0100))
>
>  /*
>   * HOST-MCU shared memory.
> @@ -1287,9 +1287,9 @@ struct hw_pairwise_ta_entry {
>  /*
>   * DMA descriptor defines.
>   */
> -#define TXD_DESC_SIZE                  ( 16 * sizeof(__le32) )
> -#define TXINFO_SIZE                    ( 6 * sizeof(__le32) )
> -#define RXD_DESC_SIZE                  ( 16 * sizeof(__le32) )
> +#define TXD_DESC_SIZE                  (16 * sizeof(__le32))
> +#define TXINFO_SIZE                    (6 * sizeof(__le32))
> +#define RXD_DESC_SIZE                  (16 * sizeof(__le32))
>
>  /*
>   * TX descriptor format for TX, PRIO and Beacon Ring.
> --
> 2.6.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] net: wireless: rt2x00: Fixed Spacing issues Helmut Schaa <helmut.schaa@googlemail.com> - 2016-01-21 18:00 +0100
  Re: [PATCH] net: wireless: rt2x00: Fixed Spacing issues Helmut Schaa <helmut.schaa@googlemail.com> - 2016-01-21 18:10 +0100
    Re: [PATCH] net: wireless: rt2x00: Fixed Spacing issues Kalle Valo <kvalo@codeaurora.org> - 2016-01-21 18:20 +0100

csiph-web