aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-03-30 15:09:10 +0000
committerLorenzo Pieralisi <[email protected]>2019-04-15 09:39:26 +0000
commitc577f4a5a08bb9677e12ddafb62e2f3a901de87f (patch)
treeec308f1ee33cfdade4dd4c2c438629fa5ecb0926 /drivers/pci/controller/dwc
parentLinux 5.1-rc1 (diff)
downloadkernel-c577f4a5a08bb9677e12ddafb62e2f3a901de87f.tar.gz
kernel-c577f4a5a08bb9677e12ddafb62e2f3a901de87f.zip
PCI: rockchip: Fix rockchip_pcie_ep_assert_intx() bitwise operations
Currently the bitwise operations on the u16 variable 'status' with the setting ROCKCHIP_PCIE_EP_CMD_STATUS_IS are incorrect because ROCKCHIP_PCIE_EP_CMD_STATUS_IS is 1UL<<19 which is wider than the u16 variable. Fix this by making status a u32. Fixes: cf590b078391 ("PCI: rockchip: Add EP driver for Rockchip PCIe controller") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Mukesh Ojha <[email protected]> Acked-by: Shawn Lin <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions