Loading
RDMA/hns: Fix restricted __le16 degrades to integer issue
mainline inclusion from mainline-v6.11-rc5 commit f4ccc0a2a0c5977540f519588636b5bc81aae2db category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAUFWV Reference: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/commit/?h=main&id=f4ccc0a2a0c5977540f519588636b5bc81aae2db ---------------------------------------------------------------------- Fix sparse warnings: restricted __le16 degrades to integer. Fixes: 5a872795 ("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:
huwentao <huwentao19@h-partners.com>