[PATCH] powerpc/sysfs: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
Michael Ellerman
patch-notifications at ellerman.id.au
Sat Jun 26 20:37:28 AEST 2021
On Thu, 24 Jun 2021 14:36:32 +0800, Jason Wang wrote:
> The ARRAY_SIZE macro is more compact and more formal in linux source.
Applied to powerpc/next.
[1/1] powerpc/sysfs: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE
https://git.kernel.org/powerpc/c/590e1e4254458455477e4e857cd00733280a3d73
cheers
More information about the Linuxppc-dev
mailing list