]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
RDMA/hns: remove a redundant le16_to_cpu
authorWeihang Li <liweihang@hisilicon.com>
Wed, 4 Sep 2019 03:14:41 +0000 (11:14 +0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 30 Jan 2020 15:24:38 +0000 (16:24 +0100)
commit26da0c954f8051ba29f569701e3f89c40c8363c1
treed4e88c6e92f3f8f2758c8dc648df3329a7e8bc4b
parent429ce97be8cbb21f57e6b2eafeffbd72d7b98d00
RDMA/hns: remove a redundant le16_to_cpu

BugLink: https://bugs.launchpad.net/bugs/1861085
commit 9f7d7064009c37cb26eee4a83302cf077fe180d6 upstream.

Type of ah->av.vlan is u16, there will be a problem using le16_to_cpu
on it.

Fixes: 82e620d9c3a0 ("RDMA/hns: Modify the data structure of hns_roce_av")
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Link: https://lore.kernel.org/r/1567566885-23088-2-git-send-email-liweihang@hisilicon.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c