Re: [PATCH] powerpc/xmon/ppc-opc: Use ARRAY_SIZE macro

From: Tyrel Datwyler
Date: Thu Oct 04 2018 - 18:03:01 EST


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@xxxxxxxxxxxxxx>

Reviewed-by: Tyrel Datwyler <tyreld@xxxxxxxxxxxxxxxxxx>