[PATCH] powerpc/xmon: replace sizeof calculations with ARRAY_SIZE macro
Madhavan Srinivasan
maddy at linux.ibm.com
Sat Sep 6 20:07:23 AEST 2025
On Sat, 19 Jul 2025 23:43:10 +0100, Ruben Wauters wrote:
> The calculations for operand/opcode/macro numbers are done in an
> identical manner to the already existing ARRAY_SIZE macro in
> linux/array_size.h
>
> This patch replaces the sizeof calculations with the macro to make the
> code cleaner and more immediately obvious what it is doing.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/xmon: replace sizeof calculations with ARRAY_SIZE macro
https://git.kernel.org/powerpc/c/3d9c9e1da9886d91c24d97ca20c854c29212b736
Thanks
More information about the Linuxppc-dev
mailing list