From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757044AbcCXOFb (ORCPT ); Thu, 24 Mar 2016 10:05:31 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:50473 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753112AbcCXOFY (ORCPT ); Thu, 24 Mar 2016 10:05:24 -0400 From: Arnd Bergmann To: Kalle Valo Cc: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Hauke Mehrtens , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [1/2] bcma: fix building without OF_IRQ Date: Thu, 24 Mar 2016 15:05:15 +0100 Message-ID: <3650018.TFD3yciM4q@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <871t70dlth.fsf@kamboji.qca.qualcomm.com> References: <20160323155243.D1AB4615C6@smtp.codeaurora.org> <9767564.jLc8Ig1W5l@wuerfel> <871t70dlth.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:G3a9UFuIle0i+fI6NXqrqP6c69JH4SJiuPeY1xenp6HQnSkjPkY fDRDEGN4eBclvOD2pshOraGXL9O8ETSfzP7jXQ2KNHTerdeMeBhCZHo66iOCQ8DL8vrD4DP bwdWq3sDzPc1IVVDkfRibFjIe1e3BVJZGxDdWcNmcYY8PxgLaLwoziiIsdqytd664/iyOy1 hLewafQPJV1XJ8D/C5krA== X-UI-Out-Filterresults: notjunk:1;V01:K0:j2X94VHZA7M=:7tJ/kyR6n8807nae7YdopY z18GBKyhZ47rR6Jv5PJzp2LzGiy+KSwx2ZoJ1k8mPNxqPVi8kZOgIxk9lpYKyAJDyBJQmP12T L67ixgAtpoEffd/jmGcJXgJ1RcKOoPjMKCW+7/86NpQIWwQ5OsfCD9ZhupfmzOhbmzn9W7o/0 4d0mdfb7LdiNgD68azgyBMzTq6/I09O2iWDwGvK0Y3JTN+2lhSiaa4zZZr3TY1Ozj8Polhy6/ RQG/KVPBHFMf19WtN5P+0XS10n+d7QHI5puAiK2Fe6FDRXu8CxxCo7pSWTSGL+xS0dihLE6zg TrcqIaY1ebxIxrzwAyLvtYLhotJxa78UeSV1QjnjT2af6g5S5SLJ1VD4reh8KkhXzSPorJS54 r5w9gAxY3XtOnCqqNStR2G4qlLXd2elqetlGNCucIaEpbRAP9GKwOCwBlV1iC3pMbYMCCd/87 GAgMvufkcDQhQ8BN0vPeeWjXic2bjWsByVYkvjAIp7BtL6cb9hxwTGRJAQyXLWmduFPFB1aXH sFa5dseKw3C8NcXep2m8vhZogCaN8ptzcEsZedY3iXVZz1K2TDkYyeNJ16VZlODllyq4OdRPn NCMkIgNTp6h2jiz/uLLug0CteFgD3alyQBYlmjstT03ExMMyORFsR7GSVdPq9HrU2/XVllSm8 EoOF5f6/eSehTDBs5hVYR1J7N+gneSAKeVslp9B241aPegYO8LtB/0NBp3icEOqpEK0JXzHoC WYryQ3Kv7FBSacTS Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 24 March 2016 15:53:14 Kalle Valo wrote: > Arnd Bergmann writes: > > > On Wednesday 23 March 2016 15:52:43 Kalle Valo wrote: > >> > The bcma driver core can be built with or without DT support, but > >> > it fails to build when CONFIG_OF=y and CONFIG_OF_IRQ=n, which > >> > can happen on platforms that do not support IRQ domains. > >> > > >> > ERROR: "irq_create_of_mapping" [drivers/bcma/bcma.ko] undefined! > >> > ERROR: "of_irq_parse_raw" [drivers/bcma/bcma.ko] undefined! > >> > ERROR: "of_irq_parse_one" [drivers/bcma/bcma.ko] undefined! > >> > > >> > This adds another compile-time check for OF_IRQ, but also > >> > gets rid of now unneeded #ifdef checks: Using the simpler > >> > IS_ENABLED() check for OF_IRQ also covers the case of not > >> > having CONFIG_OF enabled. The check for CONFIG_OF_ADDRESS > >> > was added to allow building on architectures without > >> > OF_ADDRESS, but that has been addressed already in > >> > b1d06b60e90c ("of: Provide static inline function for > >> > of_translate_address if needed"). > >> > > >> > Signed-off-by: Arnd Bergmann > >> > >> Thanks, applied to wireless-drivers.git. > >> > > > > Thanks! I see you have applied patch 1/2 but not patch 2/2. > > > > As mentioned in the comment for patch 2, it should be tested > > better, but I want to make sure that someone still has it > > on their radar. > > Just to avoid any confusions I assume you are talking about this patch: > > [v2] bcma: use of_dma_configure() to set initial dma mask > https://patchwork.kernel.org/patch/8608751/ Correct. > It's on my patchwork queue and I'm planning to apply it to > wireless-drivers-next once it opens again. Ok, sounds good. Arnd