[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87bl6n16qv.fsf@mpe.ellerman.id.au>
Date: Wed, 28 Jul 2021 13:01:44 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Jason Wang <wangborong@...rlc.com>
Cc: benh@...nel.crashing.org, paulus@...ba.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Jason Wang <wangborong@...rlc.com>
Subject: Re: [PATCH] powerpc/xmon: use ARRAY_SIZE
Jason Wang <wangborong@...rlc.com> writes:
> The ARRAY_SIZE is the macro definition of sizeof(a)/sizeof(a[0]) and
> it is more compact and formal to get a array size.
>
> Signed-off-by: Jason Wang <wangborong@...rlc.com>
> ---
> arch/powerpc/xmon/ppc-opc.c | 12 ++++--------
> 1 file changed, 4 insertions(+), 8 deletions(-)
This code is copied from binutils, please don't change it unnecessarily.
cheers
Powered by blists - more mailing lists