Re: [PATCH for-next] RDMA/hns: Clear magic number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 24, 2019 at 11:29:36PM +0800, Lijun Ou wrote:
> This patch makes the code more readable by clearing magic numbers.
> 
> Signed-off-by: Xi Wang <wangxi11@xxxxxxxxxx>
> Signed-off-by: Lijun Ou <oulijun@xxxxxxxxxx>
> ---
>  drivers/infiniband/hw/hns/hns_roce_db.c     |  8 ++--
>  drivers/infiniband/hw/hns/hns_roce_device.h | 37 +++++++++++++---
>  drivers/infiniband/hw/hns/hns_roce_hem.c    | 18 ++++----
>  drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |  4 +-
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  | 65 ++++++++++++++++-------------
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  4 ++
>  drivers/infiniband/hw/hns/hns_roce_main.c   |  7 ++--
>  drivers/infiniband/hw/hns/hns_roce_mr.c     | 43 ++++++++++---------
>  8 files changed, 116 insertions(+), 70 deletions(-)

Applied to for-next thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux