diff mbox

[for-rc,11/11] RDMA/hns: Bugfix for misspelling

Message ID 1524725184-79590-12-git-send-email-oulijun@huawei.com (mailing list archive)
State Accepted
Headers show

Commit Message

Lijun Ou April 26, 2018, 6:46 a.m. UTC
This patch mainly fix serveral spelling errors.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
---
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 +-
 drivers/infiniband/hw/hns/hns_roce_qp.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Doug Ledford April 27, 2018, 6:26 p.m. UTC | #1
On Thu, 2018-04-26 at 14:46 +0800, Lijun Ou wrote:
> This patch mainly fix serveral spelling errors.
                        ^^^^^^^^
                        This is what we call irony ;-)

> 
> Signed-off-by: Lijun Ou <oulijun@huawei.com>

I reworded this commit message when I took this patch.  Thanks.
Lijun Ou April 28, 2018, 3:22 a.m. UTC | #2
在 2018/4/28 2:26, Doug Ledford 写道:
> On Thu, 2018-04-26 at 14:46 +0800, Lijun Ou wrote:
>> This patch mainly fix serveral spelling errors.
>                         ^^^^^^^^
>                         This is what we call irony ;-)
> 
>>
>> Signed-off-by: Lijun Ou <oulijun@huawei.com>
> 
> I reworded this commit message when I took this patch.  Thanks.
> 
Thanks

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
index 38a0b6b..25916e8 100644
--- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
+++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c
@@ -4487,7 +4487,7 @@  static int hns_roce_v2_create_eq(struct hns_roce_dev *hr_dev,
 	ret = hns_roce_cmd_mbox(hr_dev, mailbox->dma, 0, eq->eqn, 0,
 				eq_cmd, HNS_ROCE_CMD_TIMEOUT_MSECS);
 	if (ret) {
-		dev_err(dev, "[mailbox cmd] creat eqc failed.\n");
+		dev_err(dev, "[mailbox cmd] create eqc failed.\n");
 		goto err_cmd_mbox;
 	}
 
diff --git a/drivers/infiniband/hw/hns/hns_roce_qp.c b/drivers/infiniband/hw/hns/hns_roce_qp.c
index e289a92..d4aad34 100644
--- a/drivers/infiniband/hw/hns/hns_roce_qp.c
+++ b/drivers/infiniband/hw/hns/hns_roce_qp.c
@@ -620,7 +620,7 @@  static int hns_roce_create_qp_common(struct hns_roce_dev *hr_dev,
 					to_hr_ucontext(ib_pd->uobject->context),
 					ucmd.db_addr, &hr_qp->rdb);
 			if (ret) {
-				dev_err(dev, "rp record doorbell map failed!\n");
+				dev_err(dev, "rq record doorbell map failed!\n");
 				goto err_mtt;
 			}
 		}