Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1671389ybi; Wed, 3 Jul 2019 21:08:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWb1M8+RkjOasTgGDA4Z8KBFRhXtXWzZp1f8d3CCmkmZA/YXWOCdjlwbPXYzaQXI/C03JJ X-Received: by 2002:a17:90b:d8b:: with SMTP id bg11mr16951536pjb.30.1562213330433; Wed, 03 Jul 2019 21:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562213330; cv=none; d=google.com; s=arc-20160816; b=LkSe4cPfCZ7d7b8QCSNwhBqndhh2IaddBOLWDY0ehx763fc8iluKWr+AtNu/VecBO4 f6F4riAiKo/hsMhzB5EUNL0ZVZIlAHCkDf+npPbTr53y79X2DHjNlkU2vV5y/HdXhwS8 DydWSnA4uqZp001GoowynfqypeNnlhBFYIIx2zj8Z41PnJ1mTEx3n2bzDPxmI6LEkc+C RMh54/qVdxTAJq+sEsSn6BWlKg5/kRo9EP77oViRpg/5XGs1IKo2cJ9P0vpY+KexJU+U MTc+U+t42WnHrQmDqGOAVi2V0pWLdWss/hRqksKVeGEdZNU6pxZ0Cg8YX8OgSGtsHEgo gvQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=q1Dt3scuKJuSd+5kqmaAImw52WL8kjBExFqw1OPRrbs=; b=BZ46osuCNf11DrANIYjYeCc3J3Q4TeZEqBAT0/rNpBUTELHZcT/M53yj/w4KkmGopx RBARWVpNr8QjbFQLrNAqr9bhZ3OHUmBKhPISqIcd04ps/Qpz2kvRzGke2HKfclqVMwm5 iPGuBDQRS4HU5Wk7hO6HpGkCGBMZC0ZZHyswi7PnHDdFMFQW91rmslmbVv3Pbjgx8x9G tKPS3wbcke6vG0IISiBoqyvRWhle/TASEDvU524JvJZ7qlWNLysSTFEEDUZHEPRLjnFi v6rVqCenaJrJG2vVPozF08I0aNQXIq0gkrQzOgLbrgJDCtoUDQHA3Db3UM1l6pMuuZcJ qh2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si4181440pfp.288.2019.07.03.21.08.34; Wed, 03 Jul 2019 21:08:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725917AbfGDEIO (ORCPT + 99 others); Thu, 4 Jul 2019 00:08:14 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:8137 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725811AbfGDEIO (ORCPT ); Thu, 4 Jul 2019 00:08:14 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 0B0E9EF083ED150DA5E5; Thu, 4 Jul 2019 12:08:11 +0800 (CST) Received: from [127.0.0.1] (10.65.94.163) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.439.0; Thu, 4 Jul 2019 12:08:03 +0800 Subject: Re: linux-next: build failure after merge of the rdma tree To: Jason Gunthorpe , Stephen Rothwell CC: Doug Ledford , Linux Next Mailing List , Linux Kernel Mailing List , Lijun Ou References: <20190701141431.5cba95c3@canb.auug.org.au> <20190704120235.5914499b@canb.auug.org.au> <20190704020418.GC32502@mellanox.com> From: wangxi Message-ID: Date: Thu, 4 Jul 2019 12:07:26 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20190704020418.GC32502@mellanox.com> Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.65.94.163] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ?? 2019/7/4 10:04, Jason Gunthorpe ะด??: > On Thu, Jul 04, 2019 at 12:02:35PM +1000, Stephen Rothwell wrote: >> Hi all, >> >> On Mon, 1 Jul 2019 14:14:31 +1000 Stephen Rothwell wrote: >>> >>> Hi all, >>> >>> After merging the rdma tree, today's linux-next build (x86_64 >>> allmodconfig) failed like this: >>> >>> WARNING: modpost: missing MODULE_LICENSE() in drivers/infiniband/hw/hns/hns_roce_ah.o >>> see include/linux/module.h for more information >> . >> . >> . >>> ERROR: "hns_roce_bitmap_cleanup" [drivers/infiniband/hw/hns/hns_roce_srq.ko] undefined! >> . >> . >> . >>> ERROR: "hns_roce_ib_destroy_cq" [drivers/infiniband/hw/hns/hns-roce-hw-v1.ko] undefined! >>> >>> Presumably caused by commit >>> >>> e9816ddf2a33 ("RDMA/hns: Cleanup unnecessary exported symbols") >>> >>> I have used the rdma tree from next-20190628 for today. >> >> I am still getting these errors/warnings. > > I have not got a fixing patch from HNS team. > > At this late date I will revert the problematic HNS patch tomorrow. > There is indeed a mistake, I will append a patch as soon as possible. The patch sent before has a problem caused by the merge of the local code. The correct one should be as follows : diff --git a/drivers/infiniband/hw/hns/Makefile b/drivers/infiniband/hw/hns/Makefile index b956cf4..b06125f 100644 --- a/drivers/infiniband/hw/hns/Makefile +++ b/drivers/infiniband/hw/hns/Makefile @@ -9,8 +9,8 @@ hns-roce-objs := hns_roce_main.o hns_roce_cmd.o hns_roce_pd.o \ hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o hns_roce_srq.o hns_roce_restrack.o ifdef CONFIG_INFINIBAND_HNS_HIP06 -hns-roce-hw-v1-objs := hns_roce_hw_v1.o -obj-$(CONFIG_INFINIBAND_HNS) += hns-roce-hw-v1.o $(hns-roce-objs) +hns-roce-hw-v1-objs := hns_roce_hw_v1.o $(hns-roce-objs) +obj-$(CONFIG_INFINIBAND_HNS) += hns-roce-hw-v1.o endif > Jason > . >