Messages in this thread | | | Subject | Re: [PATCH V2 2/5] pch_dma: modify for checkpatch | From | Joe Perches <> | Date | Sun, 08 May 2011 21:02:00 -0700 |
| |
On Mon, 2011-05-09 at 12:40 +0900, Tomoya MORINAGA wrote: > Fix checkpatch warnings. > Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> > diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c [] > @@ -138,7 +138,8 @@ struct pch_dma { > -static inline struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd) > +static inline struct pch_dma_desc *to_pd_desc( > + struct dma_async_tx_descriptor *txd)
I think these are better either not changed at all or to either of the styles below:
static inline struct pch_dma_desc * to_pd_desc(struct dma_async_tx_descriptor *txd)
static inline struct pch_dma_desc *to_pd_desc(struct dma_async_tx_descriptor *txd)
| |