[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <cb2b3e88-0a5a-0fda-4fe1-b631ffa25194@linux.vnet.ibm.com>
Date: Thu, 4 Oct 2018 15:02:46 -0700
From: Tyrel Datwyler <tyreld@...ux.vnet.ibm.com>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/xmon/ppc-opc: Use ARRAY_SIZE macro
On 10/04/2018 10:10 AM, Gustavo A. R. Silva wrote:
> Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element.
>
> This code was detected with the help of Coccinelle.
>
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Reviewed-by: Tyrel Datwyler <tyreld@...ux.vnet.ibm.com>
Powered by blists - more mailing lists