Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [PATCH] powerpc/xmon: use ARRAY_SIZE | Date | Wed, 28 Jul 2021 13:01:44 +1000 |
| |
Jason Wang <wangborong@cdjrlc.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@cdjrlc.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
| |