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

Balbir Singh bsingharora at gmail.com
Fri Dec 8 14:37:35 AEDT 2017


On Thu, Dec 7, 2017 at 10:01 PM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> 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.

Balbir Singh.


More information about the Linuxppc-dev mailing list