diff options
author | Yixing Liu <liuyixing1@huawei.com> | 2019-09-04 11:14:45 +0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-10-21 15:29:38 -0400 |
commit | 3dcad1f8421f5684c64ef3079c32dfb884a3b910 (patch) | |
tree | 35d5f7e780e64c68e75a2e711437c13e7aac5672 /drivers/infiniband/hw/hns/hns_roce_device.h | |
parent | RDMA/hns: Modify return value of restrack functions (diff) | |
download | linux-dev-3dcad1f8421f5684c64ef3079c32dfb884a3b910.tar.xz linux-dev-3dcad1f8421f5684c64ef3079c32dfb884a3b910.zip |
RDMA/hns: Fix a spelling mistake in a macro
HNS_ROCE_ALOGN_UP should be HNS_ROCE_ALIGN_UP, this patch fix it.
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.com>
Link: https://lore.kernel.org/r/1567566885-23088-6-git-send-email-liweihang@hisilicon.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_device.h')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h index c810898e0676..cbd75e466417 100644 --- a/drivers/infiniband/hw/hns/hns_roce_device.h +++ b/drivers/infiniband/hw/hns/hns_roce_device.h @@ -45,7 +45,7 @@ #define HNS_ROCE_MAX_MSG_LEN 0x80000000 -#define HNS_ROCE_ALOGN_UP(a, b) ((((a) + (b) - 1) / (b)) * (b)) +#define HNS_ROCE_ALIGN_UP(a, b) ((((a) + (b) - 1) / (b)) * (b)) #define HNS_ROCE_IB_MIN_SQ_STRIDE 6 |