summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-08-12 16:11:15 +0200
committerLorenzo Pieralisi <lpieralisi@kernel.org>2022-08-23 12:19:59 +0200
commit2e379ac66d4b734ba0e6dbdbc20f774d91be090b (patch)
tree10a003d9dcf233c966de0eeb1c73c7ef3bd76e66 /drivers/pci/controller/dwc
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-2e379ac66d4b734ba0e6dbdbc20f774d91be090b.tar.bz2
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/20220812141115.24082-1-pali@kernel.org Fixes: e7a01876729c ("PCI: mvebu: Propagate errors when updating PCI_IO_BASE and PCI_MEM_BASE registers") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions