powerpc: Annotate endianness of various variables and functions
authorBenjamin Gray <bgray@linux.ibm.com>
Wed, 11 Oct 2023 05:37:05 +0000 (16:37 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Oct 2023 06:12:47 +0000 (17:12 +1100)
commit2b4a6cc9a1a7cf6958c8b11f94e61c8e81b60b88
treed3385cc0ab0449bb9bf2c31051b0bbba40d3e66f
parent419d5d112c2e1e78beda9c3299f71c35141d8dba
powerpc: Annotate endianness of various variables and functions

Sparse reports several endianness warnings on variables and functions
that are consistently treated as big endian. There are no
multi-endianness shenanigans going on here so fix these low hanging
fruit up in one patch.

All changes are just type annotations; no endianness switching
operations are introduced by this patch.

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231011053711.93427-7-bgray@linux.ibm.com
arch/powerpc/include/asm/book3s/64/pgtable.h
arch/powerpc/include/asm/imc-pmu.h
arch/powerpc/kernel/prom_init.c
arch/powerpc/kexec/core_64.c
arch/powerpc/kexec/file_load_64.c
arch/powerpc/mm/drmem.c
arch/powerpc/perf/hv-24x7.c
arch/powerpc/perf/imc-pmu.c
arch/powerpc/platforms/powermac/feature.c
arch/powerpc/platforms/pseries/hotplug-memory.c