[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120511.181259.845221725995971870.davem@davemloft.net>
Date: Fri, 11 May 2012 18:12:59 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: peppe.cavallaro@...com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next 2/2] stmmac: add mixed burst for DMA
From: Giuseppe CAVALLARO <peppe.cavallaro@...com>
Date: Mon, 7 May 2012 11:12:33 +0200
> - int (*init) (void __iomem *ioaddr, int pbl, int fb, int burst_len,
> - u32 dma_tx, u32 dma_rx);
> + int (*init) (void __iomem *ioaddr, int pbl, int fb, int mb,
> + int burst_len, u32 dma_tx, u32 dma_rx);
Fix the indentation of the arguments on the second line,
the first character must line up with the first column after
the function's openning parenthesis on the previous line.
> -static int dwmac1000_dma_init(void __iomem *ioaddr, int pbl, int fb,
> +static int dwmac1000_dma_init(void __iomem *ioaddr, int pbl, int fb, int mb,
> int burst_len, u32 dma_tx, u32 dma_rx)
While you're here fix up that issue in the existing code here as well.
> -static int dwmac100_dma_init(void __iomem *ioaddr, int pbl, int fb,
> +static int dwmac100_dma_init(void __iomem *ioaddr, int pbl, int fb, int mb,
> int burst_len, u32 dma_tx, u32 dma_rx)
Likewise.
> - int pbl = DEFAULT_DMA_PBL, fixed_burst = 0, burst_len = 0;
> + int pbl = DEFAULT_DMA_PBL, fixed_burst = 0, burst_len = 0,
> + mixed_burst = 0;
This is gross, just make a new "int" declaration for mixed_burst.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists