powerpc/opal: Annotate out param endianness
authorBenjamin Gray <bgray@linux.ibm.com>
Wed, 11 Oct 2023 05:37:07 +0000 (16:37 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Oct 2023 06:16:20 +0000 (17:16 +1100)
commit8577dd00a6ba335bc359313599d6100522a1931c
treedd642b8653fa5f2eb4edbf9033789b9d6d9f19c0
parent2b4a6cc9a1a7cf6958c8b11f94e61c8e81b60b88
powerpc/opal: Annotate out param endianness

Sparse reports an endian mismatch with args to opal_int_get_xirr().
Checking the skiboot source[1] shows the function takes a __be32*
(as expected), so update the function declaration to reflect this.

[1]: https://github.com/open-power/skiboot/blob/80e2b1dc73/hw/xive.c#L3479

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231011053711.93427-9-bgray@linux.ibm.com
arch/powerpc/include/asm/opal.h