Thread (4 messages) flat view 4 messages, 4 authors, 2017-12-08

Re: [PATCH] powerpc/xmon: use ARRAY_SIZE on various array sizing calculations

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-12-08 11:51:57
Also in: kernel-janitors, lkml

Balbir Singh [off-list ref] writes:
On Thu, Dec 7, 2017 at 10:01 PM, Colin King [off-list ref] wrote:
quoted
From: Colin Ian King <redacted>

Use the ARRAY_SIZE macro on several arrays to determine their size.
Improvement suggested by coccinelle.
This file is taken from binutils and re-licensed. Keeping the file
as-is helps apply newer patches easily on top as opposed to redoing
the changes. I would prefer not to move to ARRAY_SIZE and stick to
what's already in the file.
Yep.

Thanks but no thanks on this one Colin.

Is there a checkpatch blacklist anywhere? So we don't keep discovering
things in this file that need to be fixed?

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