From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:36060 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732374AbeHCLRW (ORCPT ); Fri, 3 Aug 2018 07:17:22 -0400 Date: Fri, 3 Aug 2018 11:21:54 +0200 From: Stanislaw Gruszka To: Stephen Rothwell Cc: Kalle Valo , Wireless , Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build failure after merge of the wireless-drivers-next tree Message-ID: <20180803092152.GC10284@redhat.com> (sfid-20180803_112206_577575_887E8A44) References: <20180803182942.4de98df2@canb.auug.org.au> <20180803091140.GA10284@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20180803091140.GA10284@redhat.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, Aug 03, 2018 at 11:11:40AM +0200, Stanislaw Gruszka wrote: > Hi > > On Fri, Aug 03, 2018 at 06:29:42PM +1000, Stephen Rothwell wrote: > > After merging the wireless-drivers-next tree, today's linux-next build > > (powerpc allyesconfig) failed like this: > [snip] > > diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig > > index 850611ad347a..ad56b3ed2be2 100644 > > --- a/drivers/net/wireless/mediatek/mt76/Kconfig > > +++ b/drivers/net/wireless/mediatek/mt76/Kconfig > > @@ -13,6 +13,7 @@ config MT76x0U > > tristate "MediaTek MT76x0U (USB) support" > > depends on MAC80211 > > depends on USB > > + depends on BROKEN > Would be better to limit driver to be build as module. > Hopefully that will fix the issue. I'll post patch in a moment. Ok, I made config allyesconfig and .config file looks like this: CONFIG_WLAN_VENDOR_MEDIATEK=y CONFIG_MT7601U=y CONFIG_MT76_CORE=y CONFIG_MT76_USB=y CONFIG_MT76x2_COMMON=y CONFIG_MT76x0U=m However I still not sure if kernel will build this way. Because there can be conflict between kernel symbols and module symbols. So looks as part of quick fix mt7601u should be build also as module. And slower fix will be to rename symbosl names in mt76x0 driver. Regards Stanislaw