[PATCH] staging: mt7621-pci: Tidy whitespace

Sergio Paracuellos sergio.paracuellos at gmail.com
Wed Feb 27 19:59:01 UTC 2019


Hi Mikhail,

On Wed, Feb 27, 2019 at 8:54 PM Mikhail Gusarov <dottedmag at dottedmag.net> wrote:
>
> Fix missing whitespace around punctuation and beginning-of-line spaces
> in pci-mt7621.c.
>
> Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
> ---
>  drivers/staging/mt7621-pci/pci-mt7621.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c
> index 31310b6fb7db..3acad44a921e 100644
> --- a/drivers/staging/mt7621-pci/pci-mt7621.c
> +++ b/drivers/staging/mt7621-pci/pci-mt7621.c
> @@ -90,7 +90,7 @@
>
>  #define PCIE_CLK_GEN_EN                        BIT(31)
>  #define PCIE_CLK_GEN_DIS               0
> -#define PCIE_CLK_GEN1_DIS              GENMASK(30,24)
> +#define PCIE_CLK_GEN1_DIS              GENMASK(30, 24)
>  #define PCIE_CLK_GEN1_EN               (BIT(27) | BIT(25))
>  #define RALINK_PCI_IO_MAP_BASE         0x1e160000
>  #define MEMORY_BASE                    0x0
> @@ -714,7 +714,7 @@ static void mt7621_pcie_enable_ports(struct mt7621_pcie *pcie)
>  static int mt7621_pcie_init_virtual_bridges(struct mt7621_pcie *pcie)
>  {
>         u32 pcie_link_status = 0;
> -       u32 val= 0;
> +       u32 val = 0;
>         struct mt7621_pcie_port *port;
>
>         list_for_each_entry(port, &pcie->ports, list) {
> @@ -734,7 +734,7 @@ static int mt7621_pcie_init_virtual_bridges(struct mt7621_pcie *pcie)
>          * 3'b010                  x            0               x
>          * 3'b011                  x            1               0
>          * 3'b100                  0            x               x
> -        * 3'b101                  1            x               0
> +        * 3'b101                  1            x               0
>          * 3'b110                  1            0               x
>          * 3'b111                  2            1               0
>          */
> --
> 2.11.0
>

This changes are currently in staging tree :(. Please, use this kernel
tree for staging drivers to get
access to the latest changes.

Thanks,
    Sergio Paracuellos


More information about the devel mailing list