[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151012160024.GF27370@localhost>
Date: Mon, 12 Oct 2015 21:30:25 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Peter Ujfalusi <peter.ujfalusi@...com>
Cc: nsekhar@...com, linux@....linux.org.uk, olof@...om.net,
arnd@...db.de, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
dmaengine@...r.kernel.org
Subject: Re: [PATCH v4 11/25] ARM/dmaengine: edma: Merge the two drivers
under drivers/dma/
On Thu, Sep 24, 2015 at 01:01:58PM +0300, Peter Ujfalusi wrote:
> Move the code out from arch/arm/common and merge it inside of the dmaengine
> driver.
> This change is done with as minimal change to the code as possible to avoid
> any possibilities to introducing regression.
Is this a pure move patch or code has been modified, if latter am
disappointed that existing code style issue have not been fixed
> +static inline void edma_write(struct edma_cc *ecc, int offset, int val)
> +{
> + __raw_writel(val, ecc->base + offset);
> +}
> +static inline void edma_modify(struct edma_cc *ecc, int offset, unsigned and,
> + unsigned or)
This looks bad on my 80 char screen, and few more places below
> +{
> + unsigned val = edma_read(ecc, offset);
checkpatch should have asked you to add empty line here, many places below
too
> + val &= and;
> + val |= or;
> + edma_write(ecc, offset, val);
> +}
empty line here and few more places
More later :)
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists