summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBenjamin Gray <bgray@linux.ibm.com>2023-10-11 07:37:11 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2023-10-19 08:16:20 +0200
commitb574b817cc7bfcc87bbc92b4b19525442401ae5e (patch)
treede746d144964d78382e942b502921f61fe86f3e3 /include
parentpowerpc/eeh: Remove unnecessary cast (diff)
downloadlinux-b574b817cc7bfcc87bbc92b4b19525442401ae5e.tar.xz
linux-b574b817cc7bfcc87bbc92b4b19525442401ae5e.zip
powerpc/fadump: Annotate endianness cast with __force
Sparse reports an endianness error with the else case of val = (cpu_endian ? be64_to_cpu(reg_entry->reg_val) : (u64)(reg_entry->reg_val)); This is a safe operation because the code is explicitly working with dynamic endianness, so add the __force annotation to tell Sparse to ignore it. Signed-off-by: Benjamin Gray <bgray@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231011053711.93427-13-bgray@linux.ibm.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions