From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C3CDC0650E for ; Thu, 4 Jul 2019 06:31:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 761EF2189E for ; Thu, 4 Jul 2019 06:31:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727538AbfGDGb2 (ORCPT ); Thu, 4 Jul 2019 02:31:28 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:8138 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727160AbfGDGb0 (ORCPT ); Thu, 4 Jul 2019 02:31:26 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A467751C526A26EC1389; Thu, 4 Jul 2019 14:31:23 +0800 (CST) Received: from [127.0.0.1] (10.61.25.96) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.439.0; Thu, 4 Jul 2019 14:31:13 +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 , Xi Wang References: <20190701141431.5cba95c3@canb.auug.org.au> <20190704120235.5914499b@canb.auug.org.au> <20190704020418.GC32502@mellanox.com> From: oulijun Message-ID: <960e90d5-438f-a69d-fabe-68e967af7bcd@huawei.com> Date: Thu, 4 Jul 2019 14:31:13 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <20190704020418.GC32502@mellanox.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.61.25.96] 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. > > Jason Hi, Jason We have sent a fixup patch. This problem only appears when compiled into ko. Our self-test is build in. Thanks. Lijun Ou > . >