OpenCloudOS-Kernel/drivers/infiniband/hw/hns
Junxian Huang e8721e9ba1 RDMA/hns: Fix restricted __le16 degrades to integer issue
[ Upstream commit f4ccc0a2a0c5977540f519588636b5bc81aae2db ]

Fix sparse warnings: restricted __le16 degrades to integer.

Fixes: 5a87279591 ("RDMA/hns: Support hns HW stats")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409080508.g4mNSLwy-lkp@intel.com/
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20240909065331.3950268-1-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-04 16:29:34 +02:00
..
Kconfig RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
Makefile RDMA/hns: Remove redundant DFX file and DFX ops structure 2022-08-23 11:34:42 +03:00
hns_roce_ah.c RDMA/hns: Add check for SL 2023-11-20 11:59:21 +01:00
hns_roce_alloc.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cmd.c RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_cmd.h RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_common.h RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cq.c RDMA/hns: Fix UAF for cq async event 2024-06-12 11:12:06 +02:00
hns_roce_db.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_device.h RDMA/hns: Fix missing pagesize and alignment check in FRMR 2024-08-03 08:54:03 +02:00
hns_roce_hem.c RDMA/hns: Optimize hem allocation performance 2024-10-04 16:29:34 +02:00
hns_roce_hem.h RDMA/hns: Use complete parentheses in macros 2024-06-12 11:12:06 +02:00
hns_roce_hw_v2.c RDMA/hns: Fix restricted __le16 degrades to integer issue 2024-10-04 16:29:34 +02:00
hns_roce_hw_v2.h RDMA/hns: Support hns HW stats 2023-08-19 14:26:34 +03:00
hns_roce_main.c RDMA/hns: Fix deadlock on SRQ async events. 2024-06-12 11:12:06 +02:00
hns_roce_mr.c RDMA/hns: Fix missing pagesize and alignment check in FRMR 2024-08-03 08:54:03 +02:00
hns_roce_pd.c RDMA/hns: Fix inappropriate err code for unsupported operations 2024-01-25 15:35:31 -08:00
hns_roce_qp.c RDMA/hns: Fix spin_unlock_irqrestore() called with IRQs enabled 2024-10-04 16:29:33 +02:00
hns_roce_restrack.c RDMA/hns: Dump whole QP/CQ/MR resource in raw 2023-08-19 14:26:08 +03:00
hns_roce_srq.c RDMA/hns: Fix undifined behavior caused by invalid max_sge 2024-08-03 08:54:03 +02:00