linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero
@ 2017-09-15  2:49 Wei Hu (Xavier)
  2017-09-15  6:36 ` Leon Romanovsky
  2017-09-27 12:42 ` Doug Ledford
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Hu (Xavier) @ 2017-09-15  2:49 UTC (permalink / raw)
  To: dledford
  Cc: linux-rdma, xavier.huwei, lijun_nudt, oulijun, charles.chenxin,
	liuyixian, xushaobo2, zhangxiping3, xavier_huwei, linuxarm,
	linux-kernel, leon

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero
  2017-09-15  2:49 [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero Wei Hu (Xavier)
@ 2017-09-15  6:36 ` Leon Romanovsky
  2017-09-27 12:42 ` Doug Ledford
  1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2017-09-15  6:36 UTC (permalink / raw)
  To: Wei Hu (Xavier)
  Cc: dledford, linux-rdma, lijun_nudt, oulijun, charles.chenxin,
	liuyixian, xushaobo2, zhangxiping3, xavier_huwei, linuxarm,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 820 bytes --]

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>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero
  2017-09-15  2:49 [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero Wei Hu (Xavier)
  2017-09-15  6:36 ` Leon Romanovsky
@ 2017-09-27 12:42 ` Doug Ledford
  1 sibling, 0 replies; 3+ messages in thread
From: Doug Ledford @ 2017-09-27 12:42 UTC (permalink / raw)
  To: Wei Hu (Xavier)
  Cc: linux-rdma, lijun_nudt, oulijun, charles.chenxin, liuyixian,
	xushaobo2, zhangxiping3, xavier_huwei, linuxarm, linux-kernel,
	leon

On Fri, 2017-09-15 at 10:49 +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>

Thanks, applied.

-- 
Doug Ledford <dledford@redhat.com>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-27 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-15  2:49 [PATCH for-next] RDMA/hns: Delete the unnecessary initializing enum to zero Wei Hu (Xavier)
2017-09-15  6:36 ` Leon Romanovsky
2017-09-27 12:42 ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).