Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1732685 > unrolled thread

[PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero

Started by"Wei Hu (Xavier)" <xavier.huwei@huawei.com>
First post2017-09-15 04:30 +0200
Last post2017-09-15 08:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero "Wei Hu (Xavier)" <xavier.huwei@huawei.com> - 2017-09-15 04:30 +0200
    Re: [PATCH for-next] RDMA/hns: Delete the unnecessary initializing  enum to zero Leon Romanovsky <leon@kernel.org> - 2017-09-15 08:40 +0200

#1732685 — [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero

From"Wei Hu (Xavier)" <xavier.huwei@huawei.com>
Date2017-09-15 04:30 +0200
Subject[PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero
Message-ID<upOye-52Z-9@gated-at.bofh.it>
It deletes the unnecessary initializing enum to zero.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
---
This patch is based on the patchset as below:
[PATCH for-next 00/20] RDMA/hns: Add hip08 RoCE driver support,
the related link:
https://www.spinics.net/lists/linux-rdma/msg54098.html

This patch addresses the comment at Leon's suggestion.
https://www.spinics.net/lists/linux-rdma/msg54392.html
https://www.spinics.net/lists/linux-rdma/msg54400.html
---
 drivers/infiniband/hw/hns/hns_roce_device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h
index b45dba5..4f43c91 100644
--- a/drivers/infiniband/hw/hns/hns_roce_device.h
+++ b/drivers/infiniband/hw/hns/hns_roce_device.h
@@ -171,7 +171,7 @@ enum {
 };
 
 enum hns_roce_mtt_type {
-	MTT_TYPE_WQE = 0,
+	MTT_TYPE_WQE,
 	MTT_TYPE_CQE,
 };
 
-- 
1.9.1

[toc] | [next] | [standalone]


#1732728 — Re: [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero

FromLeon Romanovsky <leon@kernel.org>
Date2017-09-15 08:40 +0200
SubjectRe: [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero
Message-ID<upSs9-7sW-7@gated-at.bofh.it>
In reply to#1732685

[Multipart message — attachments visible in raw view] — view raw

On Fri, Sep 15, 2017 at 10:49:09AM +0800, Wei Hu (Xavier) wrote:
> It deletes the unnecessary initializing enum to zero.
>
> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
> Signed-off-by: Shaobo Xu <xushaobo2@huawei.com>
> Signed-off-by: Lijun Ou <oulijun@huawei.com>
> ---
> This patch is based on the patchset as below:
> [PATCH for-next 00/20] RDMA/hns: Add hip08 RoCE driver support,
> the related link:
> https://www.spinics.net/lists/linux-rdma/msg54098.html
>
> This patch addresses the comment at Leon's suggestion.
> https://www.spinics.net/lists/linux-rdma/msg54392.html
> https://www.spinics.net/lists/linux-rdma/msg54400.html
> ---
>  drivers/infiniband/hw/hns/hns_roce_device.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web