On Wed, Jun 19, 2019 at 03:00:47PM +0800, Lijun Ou wrote: > This patch removes the hns-roce.ko for cleanup all the > exported symbols in common part. > > Signed-off-by: Xi Wang <wangxi11@xxxxxxxxxx> > Signed-off-by: Lijun Ou <oulijun@xxxxxxxxxx> > --- > V1->V2: > 1. Use the top level CONFIG_INFINIBAND_HNS tristate to control > whether hns_roce_hw_v1.ko and hns_roce_hw_v2.ko are both as > modules or both built in > 2. Add Signed-off-by > --- > drivers/infiniband/hw/hns/Kconfig | 15 +++++++-------- > drivers/infiniband/hw/hns/Makefile | 13 +++++++++---- > drivers/infiniband/hw/hns/hns_roce_alloc.c | 2 -- > drivers/infiniband/hw/hns/hns_roce_cmd.c | 4 ---- > drivers/infiniband/hw/hns/hns_roce_cq.c | 5 ----- > drivers/infiniband/hw/hns/hns_roce_db.c | 4 ---- > drivers/infiniband/hw/hns/hns_roce_hem.c | 5 ----- > drivers/infiniband/hw/hns/hns_roce_main.c | 3 --- > drivers/infiniband/hw/hns/hns_roce_mr.c | 3 --- > drivers/infiniband/hw/hns/hns_roce_pd.c | 2 -- > drivers/infiniband/hw/hns/hns_roce_qp.c | 13 ------------- > drivers/infiniband/hw/hns/hns_roce_srq.c | 1 - > 12 files changed, 16 insertions(+), 54 deletions(-) Applied to for-next Thanks, Jason