Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1370153rwd; Thu, 25 May 2023 11:33:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5/mpVOJnh98Shj9LuaBeCU1b2kjzKtR/euoahnZeD5SzAiIr23ThT62xZyhXc9Y3vPD/kX X-Received: by 2002:a05:6a20:8e0b:b0:10a:cbe6:69ef with SMTP id y11-20020a056a208e0b00b0010acbe669efmr23554684pzj.37.1685039590559; Thu, 25 May 2023 11:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685039590; cv=none; d=google.com; s=arc-20160816; b=J9WoCU8Y2qdEQApMq/tZk9yud7n/vc2udosjmkiOnOSbhXFPPWLgGSJgjIK0vVNUsF ic8bHz0qLqRC2m4jXYA8ubBBDkvKN77P2MEK8LCJwZbfY47+5OxPVcf0ccXL4bfpPpof gPPsXP3wKKxH83jK2Hrw+2cPIuWfnIFMDMInvV8e+Dab3rP10Vpfj7jvc3AGlK85Qnbf SljvTzrTO1yW5M8Pxv/jhOp+6KpF1UgFmOItBW+8nfs6lqnMDsrOQyPLzt2319Lo9i/P 4nJfe1YNa5TrsUGLPpXv68m6/B4D/3NQacLcJtd63JCtZzVC6e34h8yMl9/K4Idq5h/k M7qw== 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; bh=33AHhkOraKad8P7pdOM9TWUC+TsRxjvus1paSC8pGQI=; b=C2hckmS/pzOsl5XCyUuqWn9nLd8EI6BP2UINNPj6VIfbxIXrzof2RJxZhLUmHFC7vA JbbOPsggJkcmQNTRfnA/br+w7tHzWM7fxLexiUsQzITzGmXhilDg/Mol4R2aBUk8Vx0X DAgxFbb20w14GJsiFM5fib1oRI236/NQnYfhBPRAobPz3DHvo9ZFMYZ1xqiY2/Efaqfm LzwtFfKfa4+Nwy2sIDMqxrSJkbkHD6+El2hu3CvOAh5YT7JEzfzLFlQvtCIZEbgBedbT nf1SYU3y4m0eaZN34QLCaszJD3KSXiZaxX0xAgvOaAgipMrDdJVoa3KXkcz6T/SmEfGL pSQA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g27-20020aa79ddb000000b0064d5a66dd06si2061383pfq.374.2023.05.25.11.32.53; Thu, 25 May 2023 11:33:10 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233743AbjEYSZc (ORCPT + 99 others); Thu, 25 May 2023 14:25:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236311AbjEYSZ3 (ORCPT ); Thu, 25 May 2023 14:25:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BE50BB; Thu, 25 May 2023 11:25:28 -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 959AB64881; Thu, 25 May 2023 18:25:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1650CC433D2; Thu, 25 May 2023 18:25:23 +0000 (UTC) From: Catalin Marinas To: Will Deacon , Arnd Bergmann Cc: Arnd Bergmann , Ard Biesheuvel , Mark Rutland , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Anshuman Khandual , Kees Cook , Suren Baghdasaryan , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, kvmarm@lists.linux.dev Subject: Re: [PATCH 00/15] arm64: address -Wmissing-prototype warnings Date: Thu, 25 May 2023 19:25:22 +0100 Message-Id: <168503901731.1110505.94060573745937753.b4-ty@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516160642.523862-1-arnd@kernel.org> References: <20230516160642.523862-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 On Tue, 16 May 2023 18:06:27 +0200, Arnd Bergmann wrote: > This addresses all arm64 specific protype warnings. As with the arm32 > patches, the majority of them should be straightforward, either adding > an #include statement to get the right header, or ensuring that an unused > global function is left out of the build when the prototype is hidden. > > The ones that are a bit awkward are those that just add a prototype to > shut up the warning, but the prototypes are never used for calling the > function because the only caller is in assembler code. I tried to come > up with other ways to shut up the compiler, and ideally this would be > triggered by the 'asmlinkage' keyword as Ard suggested in the past, but > I could not come up with a way to do this. > > [...] Applied to arm64 (for-next/missing-proto-warn), thanks! [01/15] arm64: xor-neon: mark xor_arm64_neon_*() static https://git.kernel.org/arm64/c/320a93d4df48 [02/15] arm64: add scs_patch_vmlinux prototype https://git.kernel.org/arm64/c/aea197160d74 [03/15] arm64: avoid prototype warnings for syscalls https://git.kernel.org/arm64/c/6ac19f96515e [04/15] arm64: move cpu_suspend_set_dbg_restorer() prototype to header https://git.kernel.org/arm64/c/ec3a3db7100d [05/15] arm64: spectre: provide prototypes for internal functions https://git.kernel.org/arm64/c/010089e9d3fe [06/15] arm64: kvm: add prototypes for functions called in asm https://git.kernel.org/arm64/c/05d557a5cf59 [07/15] arm64: cpuidle: fix #ifdef for acpi functions https://git.kernel.org/arm64/c/68a879b55346 [08/15] arm64: efi: add efi_handle_corrupted_x18 prototype https://git.kernel.org/arm64/c/fbc0cd6f6044 [09/15] arm64: hide unused is_valid_bugaddr() https://git.kernel.org/arm64/c/b925b4314c91 [10/15] arm64: module-plts: inline linux/moduleloader.h https://git.kernel.org/arm64/c/60a0aab7463e [11/15] arm64: flush: include linux/libnvdimm.h https://git.kernel.org/arm64/c/1a1183938946 [12/15] arm64: kaslr: add kaslr_early_init() declaration https://git.kernel.org/arm64/c/a7f5cb606e99 [13/15] arm64: signal: include asm/exception.h https://git.kernel.org/arm64/c/8ada7aab02ee [14/15] arm64: move early_brk64 prototype to header https://git.kernel.org/arm64/c/e13d32e99264 [15/15] arm64: add alt_cb_patch_nops prototype https://git.kernel.org/arm64/c/c152aed4dcc2 -- Catalin