Thread (10 messages) 10 messages, 5 authors, 2016-06-25

Re: [PATCH] net: ethernet: ti: cpdma: switch to use genalloc

From: Afzal Mohammed <hidden>
Date: 2016-06-24 11:58:02
Also in: linux-omap, lkml

Hi,

On Fri, Jun 24, 2016 at 11:35:15AM +0530, Mugunthan V N wrote:
On Thursday 23 June 2016 06:26 PM, Ivan Khoronzhuk wrote:
quoted
quoted
+    if (pool->cpumap) {
+        dma_free_coherent(pool->dev, pool->mem_size, pool->cpumap,
+                  pool->phys);
+    } else {
+        iounmap(pool->iomap);
+    }
quoted
single if, brackets?
if() has multiple line statement, so brackets are must.
Another paint to the bikeshed,

seems documented coding style mentions otherwise.

Regards
afzal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help