diff options
author | Benjamin Gray <bgray@linux.ibm.com> | 2023-10-11 08:37:00 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-10-19 09:12:47 +0300 |
commit | ff7a60ab1e065257a0e467c13b519f4debcd7fcf (patch) | |
tree | 3b0e177b7bffc5baa56bb216ee71caf3ba8b868f /scripts/gdb/linux/interrupts.py | |
parent | b1fba034a6793e9601d581594a781b46c255471f (diff) | |
download | linux-ff7a60ab1e065257a0e467c13b519f4debcd7fcf.tar.xz |
powerpc/xive: Fix endian conversion size
Sparse reports a size mismatch in the endian swap. The Opal
implementation[1] passes the value as a __be64, and the receiving
variable out_qsize is a u64, so the use of be32_to_cpu() appears to be
an error.
[1]: https://github.com/open-power/skiboot/blob/80e2b1dc73/hw/xive.c#L3854
Fixes: 88ec6b93c8e7 ("powerpc/xive: add OPAL extensions for the XIVE native exploitation support")
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231011053711.93427-2-bgray@linux.ibm.com
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions