aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-08-12 14:11:15 +0000
committerLorenzo Pieralisi <[email protected]>2022-08-23 10:19:59 +0000
commit2e379ac66d4b734ba0e6dbdbc20f774d91be090b (patch)
tree10a003d9dcf233c966de0eeb1c73c7ef3bd76e66 /lib/fault-inject.c
parentLinux 6.0-rc1 (diff)
downloadkernel-2e379ac66d4b734ba0e6dbdbc20f774d91be090b.tar.gz
kernel-2e379ac66d4b734ba0e6dbdbc20f774d91be090b.zip
PCI: mvebu: Fix endianness when accessing PCI emul bridge members
PCI emul bridge members iolimitupper, iobaseupper, memlimit and membase are of type __le16, so correctly access these members using le16_to_cpu() macros. Link: https://lore.kernel.org/r/[email protected] Fixes: e7a01876729c ("PCI: mvebu: Propagate errors when updating PCI_IO_BASE and PCI_MEM_BASE registers") Reported-by: kernel test robot <[email protected]> Signed-off-by: Pali Rohár <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions