Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp396655imi; Fri, 22 Jul 2022 01:12:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t0iBQAb6CrXr8EMNGV75OlBn3OpNxgHcrE7FlkqsqdI2Bdw/eUPGW+ZEAHBFoZiqRVEhkG X-Received: by 2002:a17:902:e74a:b0:16c:3bdf:26bd with SMTP id p10-20020a170902e74a00b0016c3bdf26bdmr2339344plf.116.1658477543582; Fri, 22 Jul 2022 01:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658477543; cv=none; d=google.com; s=arc-20160816; b=BMllp/CDuICBA6OHmPkCcDtD8q1+eAPmUn2MYdXUjwu7TWRNchxwaq+oUNbEynWcwc 6tWigfNe0jIXTG5s+00lVwLVaDaJWp+MVV5+EYjyKvfmZnM239OFQWhTF0oE3ggzMrFS zAHC0yGJRH6z8WWMUOGv3w7Z3eslKeFPJv4VPbprxlnZYmuv+vJhDNZ68BgJkzQdw+l4 2yFvyqG4lX5WCqQnnvrgs4zm0qtt02Qm7JdgbyWlpprdsVVJ9LQW7VfapRQyrnFzYYQ8 m4MAgbdwAWvlaw8ugvThOoJOegBb9q3joTR5Wr+vk6mL+iCDUJI5PupByCwbrKGF9tWa W4+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=rOjRyD7pfOQ6FeTUbBeSG5CoWP4esealUD65tdHqmPE=; b=PbuxhyaNFnT+5szGMsjS4oF7JWXTzQZc+ZfU70fHIp+Ok3f18Jxb2FX3vXzyydPdpr LUqpTVLz0ZtE77zLoSesDi7LTsexSoKHjaq8yos3/7byXxkTFvmre4idXod+T2XD3oHC LpYOyPMB0B9BnZE8p+q5oFXnyBYvKtpir5eYcM5rcfJke7Set/3b5Uz/zPsDAP0ynbv1 U3hxSfDtOeTBhyurLZRyOxtqR0DNZWsFuJV+oUbxvAk8kNhE0HISoRwD4LMHZCrYqJVr rJcWERKiI/5MF08SOtrGrS1FPVFKIg487vqBTcZLQ4sEijpTVFrRMqz5O8PTrSuBFiS5 2O6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s21-20020a056a00179500b0050d8195100bsi6093130pfg.7.2022.07.22.01.12.08; Fri, 22 Jul 2022 01:12:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234097AbiGVIDl (ORCPT + 99 others); Fri, 22 Jul 2022 04:03:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229682AbiGVIDi (ORCPT ); Fri, 22 Jul 2022 04:03:38 -0400 X-Greylist: delayed 137 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 22 Jul 2022 01:03:36 PDT Received: from hetzy.fluff.org (test-v6.fluff.org [IPv6:2a01:4f8:222:2004::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C5CE9B54D for ; Fri, 22 Jul 2022 01:03:36 -0700 (PDT) Received: from ben by hetzy.fluff.org with local (Exim 4.89) (envelope-from ) id 1oEndF-0004Zo-Lx; Fri, 22 Jul 2022 09:03:33 +0100 Date: Fri, 22 Jul 2022 09:03:33 +0100 From: Ben Dooks To: Marc Zyngier Cc: Ben Dooks , linux-kernel@vger.kernel.org, tglx@linutronix.de Subject: Re: [PATCH] irqchip/mmp: fix missing extern init code Message-ID: <20220722080333.4ic4n3bmsxs6kyyq@hetzy.fluff.org> References: <20220721215147.468971-1-ben-linux@fluff.org> <87sfmty4ou.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sfmty4ou.wl-maz@kernel.org> X-Disclaimer: These are my views alone. X-URL: http://www.fluff.org/ User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ben@fluff.org X-SA-Exim-Scanned: No (on hetzy.fluff.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 22, 2022 at 08:41:53AM +0100, Marc Zyngier wrote: > On Thu, 21 Jul 2022 22:51:47 +0100, > Ben Dooks wrote: > > > > The functions icu_init_irq and mmp2_init_icu are exported > > from this code, so declare them in the header file to avoid > > the following sparse warnings: > $ git grep -E "icu_init_irq|mmp2_init_icu" > arch/arm/mach-mmp/mmp2.c: mmp2_init_icu(); > arch/arm/mach-mmp/mmp2.h:extern void __init mmp2_init_icu(void); > arch/arm/mach-mmp/pxa168.c: icu_init_irq(); > arch/arm/mach-mmp/pxa168.h:extern void __init icu_init_irq(void); > arch/arm/mach-mmp/pxa910.c: icu_init_irq(); > arch/arm/mach-mmp/pxa910.h:extern void __init icu_init_irq(void); > drivers/irqchip/irq-mmp.c:void __init icu_init_irq(void) > drivers/irqchip/irq-mmp.c:void __init mmp2_init_icu(void) > > If you are going to fix this, please fix it sensibly. Ok, didn't realise these where not being built my the v7_multi defconfig. Should this all go into one patch or do the arch/arm bits need to go via some arm tree? -- Ben Dooks, ben@fluff.org, http://www.fluff.org/ben/ Large Hadron Colada: A large Pina Colada that makes the universe disappear.