aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorLang Cheng <[email protected]>2019-08-21 21:14:32 +0800
committerDoug Ledford <[email protected]>2019-08-28 11:57:26 -0400
commitbfe860351e31e71913d4e6c46aae5724b661a519 (patch)
tree5079a64079d1eee5dd5731c4dbeaf519d702cff9 /drivers/usb/cdns3/cdns3-ti.c
parent90c559b1864aa52518c10d5535bf5d5ea74189e5 (diff)
RDMA/hns: Fix cast from or to restricted __le32 for driver
Sparse is whining about the u32 and __le32 mixed usage in the driver. The roce_set_field() is used to __le32 data of hardware only. If a variable is not delivered to the hardware, the __le32 type and related operations are not required. Signed-off-by: Lang Cheng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions