diff options
author | Lang Cheng <[email protected]> | 2019-08-21 21:14:32 +0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2019-08-28 11:57:26 -0400 |
commit | bfe860351e31e71913d4e6c46aae5724b661a519 (patch) | |
tree | 5079a64079d1eee5dd5731c4dbeaf519d702cff9 /drivers/usb/cdns3/cdns3-ti.c | |
parent | 90c559b1864aa52518c10d5535bf5d5ea74189e5 (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