Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp909284rwd; Tue, 16 May 2023 09:08:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4z0qYd20pzaBbXLN6ZCDV9LPP5P42chyQtKwk/kl5XvG0+5E6/CIfCLKuMiZvKD0AVCsJ7 X-Received: by 2002:a05:6a20:1450:b0:106:1748:70e9 with SMTP id a16-20020a056a20145000b00106174870e9mr9414830pzi.28.1684253294190; Tue, 16 May 2023 09:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684253294; cv=none; d=google.com; s=arc-20160816; b=Xm/oqs/Sr76SjfxRMCjt+Cux5LEOXbRmuryeXqRYjH5ikDGNyP8s5/NwL2veBAZVcz cZM0WQ40skcC9EumD8e65Y706H+eVjL8B1xZ/3oM0mb71paOM6u5+1JZRaPAN7/4qL1L XbQPNEOm15j0xUhIt4D8cjuHnASw6paAT0gn0o1GPNJLPqflKKSfGG5cCbuQd1L1x6fG NZEbHkVNMJcXPfYCFPrP0wJpeYW1GY8jwUaEnFW9/r0OQyU9O5lp7FgShGay/Un1Nhzj o+OPDcUEvuwbijflnRmT2rdgWRljyjyCKOhnMfeBWUkuaZDno2Rp5lHyPbFG/sccjU53 z6cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iNWp3VdnbJFjdZ4pODARQLtMq6HglUjYG29ELp8TR+k=; b=D/wRA2vuWbvzr+qoMBqRTC+Tt3oouiZAAbYqO12JG/e4zkKbIFzRg7uKSyXSsf7mzQ PzgY1O+mPi/biT9l7mW5qUcUipO61WsTeNyqPah0zioM/8LlztHAclZ5BILnGs7BTAba c+7AIY5XRfhguRdqQ3+NzKmaz21MqW3rZqcLobrKW2wsb4wwAj1QXz5RWaU63qekTwkR 8zNXWXIEJpqI2gOiqwQmp26q2oIag48BE96ULLmnaeRY3CfG1G7FI3xa+eNhbEcIS6H+ o/B7y8iTSCSD9fOEqVuUUscGBEwBdH0vCy4tbDH7dMTLedzw11I8WMALYrN5n3eIyFPw h8Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nxtqi0Wv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a637e0f000000b00528baa26739si14958487pgc.336.2023.05.16.09.07.59; Tue, 16 May 2023 09:08:14 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nxtqi0Wv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234344AbjEPPtJ (ORCPT + 99 others); Tue, 16 May 2023 11:49:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234249AbjEPPsK (ORCPT ); Tue, 16 May 2023 11:48:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08BB49EEB; Tue, 16 May 2023 08:47:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 16A5663BAF; Tue, 16 May 2023 15:47:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47E2EC433D2; Tue, 16 May 2023 15:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684252020; bh=Npxydn52yNm/V36pPXxMeglIGETaw+vXx4GeRAC3zdI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nxtqi0WvFSlHGYKBv/f3fm7o9hL3K1bNtnja2ASbeAJIlcaB8frJ16v2Tr5vxA72j QIS2ucqJFlN3AvvuNr8oWbDkrwt3zlx+O/pDzwLuCC1X9AGzOcn1QOLG5uEq/scTET 4OBbIcE4bPK+GoIgPoPRvQUY0iB4N7WNY98jlmvm4V05vrUT+Y2pV11HVT9na/eaNl XYSOnhzIijZvTI7jf5VXiZbCSY4NSqPqqJX5v9LtKgjUtrvu9n0IOTyZy9o6h0y8FB iRaAiSUG88ROpRuVU2V2rWeA/jn3gSomOm3+LFP3uG+HNumJ4SH3FmP8QxJFPmCAq/ cls4GlKSlcD3g== From: Arnd Bergmann To: Russell King Cc: Arnd Bergmann , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Oleg Nesterov , "Rafael J. Wysocki" , Pavel Machek , Linus Walleij , Ard Biesheuvel , Kees Cook , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 12/16] ARM: fiq: include asm/mach/irq.h for prototypes Date: Tue, 16 May 2023 17:46:01 +0200 Message-Id: <20230516154605.517690-13-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516154605.517690-1-arnd@kernel.org> References: <20230516154605.517690-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Arnd Bergmann There are two global functions in fiq.c that get called from other files through an extern declaration, but a W=1 build warns about the header not being included before the definition: arch/arm/kernel/fiq.c:85:5: error: no previous prototype for 'show_fiq_list' [-Werror=missing-prototypes] arch/arm/kernel/fiq.c:159:13: error: no previous prototype for 'init_FIQ' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- arch/arm/kernel/fiq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/kernel/fiq.c b/arch/arm/kernel/fiq.c index 98ca3e3fa847..d2c8e5313539 100644 --- a/arch/arm/kernel/fiq.c +++ b/arch/arm/kernel/fiq.c @@ -45,6 +45,7 @@ #include #include #include +#include #include #include -- 2.39.2