summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hns/hns_roce_hem.c
diff options
context:
space:
mode:
authorSalil2016-11-23 20:41:09 +0100
committerDoug Ledford2016-12-03 20:20:42 +0100
commite84e40be8e7bc29599da7056b340490d25ff87b5 (patch)
treeee16603bc02ca0bb477b70db546ff3f7e8cb348b /drivers/infiniband/hw/hns/hns_roce_hem.c
parentIB/hns: Implement the add_gid/del_gid and optimize the GIDs management (diff)
downloadkernel-qcow2-linux-e84e40be8e7bc29599da7056b340490d25ff87b5.tar.gz
kernel-qcow2-linux-e84e40be8e7bc29599da7056b340490d25ff87b5.tar.xz
kernel-qcow2-linux-e84e40be8e7bc29599da7056b340490d25ff87b5.zip
IB/hns: Fix for Checkpatch.pl comment style errors
This patch correct the comment style errors caught by checkpatch.pl script Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hem.c')
-rw-r--r--drivers/infiniband/hw/hns/hns_roce_hem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hem.c b/drivers/infiniband/hw/hns/hns_roce_hem.c
index 250d8f280390..c5104e0b2916 100644
--- a/drivers/infiniband/hw/hns/hns_roce_hem.c
+++ b/drivers/infiniband/hw/hns/hns_roce_hem.c
@@ -80,9 +80,9 @@ struct hns_roce_hem *hns_roce_alloc_hem(struct hns_roce_dev *hr_dev, int npages,
--order;
/*
- * Alloc memory one time. If failed, don't alloc small block
- * memory, directly return fail.
- */
+ * Alloc memory one time. If failed, don't alloc small block
+ * memory, directly return fail.
+ */
mem = &chunk->mem[chunk->npages];
buf = dma_alloc_coherent(&hr_dev->pdev->dev, PAGE_SIZE << order,
&sg_dma_address(mem), gfp_mask);