diff options
author | Colin Ian King <[email protected]> | 2019-03-30 15:09:10 +0000 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2019-04-15 10:39:26 +0100 |
commit | c577f4a5a08bb9677e12ddafb62e2f3a901de87f (patch) | |
tree | ec308f1ee33cfdade4dd4c2c438629fa5ecb0926 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions