On Sun, Jan 26, 2020 at 10:55:04PM +0800, Weihang Li wrote: > From: Lang Cheng <chenglang@xxxxxxxxxx> > > Some magic numbers are hard to understand, so replace them with macros > or add some comments for them. > > Signed-off-by: Lang Cheng <chenglang@xxxxxxxxxx> > Signed-off-by: Yixian Liu <liuyixian@xxxxxxxxxx> > Signed-off-by: Wenpeng Liang <liangwenpeng@xxxxxxxxxx> > Signed-off-by: Yixing Liu <liuyixing1@xxxxxxxxxx> > Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_device.h | 2 +- > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 10 +++++----- > drivers/infiniband/hw/hns/hns_roce_qp.c | 23 +++++++++++++---------- > drivers/infiniband/hw/hns/hns_roce_srq.c | 3 ++- > 4 files changed, 21 insertions(+), 17 deletions(-) Applied to for-next, thanks Jason