From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE67CEEB564 for ; Sat, 9 Sep 2023 08:28:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344043AbjIII2l (ORCPT ); Sat, 9 Sep 2023 04:28:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243092AbjIII2k (ORCPT ); Sat, 9 Sep 2023 04:28:40 -0400 Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71D6E19BA for ; Sat, 9 Sep 2023 01:28:36 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id CE1D95809CA; Sat, 9 Sep 2023 04:28:35 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Sat, 09 Sep 2023 04:28:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1694248115; x=1694255315; bh=yhLobfQ0x+LkGN/nwOrxq0JVysZ+tCF7Qsj rXNCba/M=; b=HQE1Y+b4ncRnjXU6Bukn3hmuQsSaJ4wBIjwWAqcUL9dXyTS+TNU aijv2yyilUAWuH/ZJAJ0q77lEqe7q2C+qtzFo0M+scKmQIktBzUC/jrfakjCtJub E9lc8dY7GeMksyJSYaI5+0eFmFX5/ZtquIamcl9x49S664x2/LOYaD0JrEDT7gLd IfbT8GeOVnCMP92RQH0IvBVKV6N+FeXCiN8ckjshT4I+7uxuUYcwTGqAMO4LeFK2 l5DfaRAyzt6OnPtjz03WG83VQIWGHVHQ8PCNw1v2tLz7PRHzeV+Fy9kNHBm5rrrV tjw9+sOupGtwaaXr6EHsZsq/u4cdRI0UEfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1694248115; x=1694255315; bh=yhLobfQ0x+LkGN/nwOrxq0JVysZ+tCF7Qsj rXNCba/M=; b=v/nw40CfuTVNlbAiRLW2xwO/F3EugkMmE1jJZoUUnGqb7Y5vxVr gOwv+IAgdjBZ4H0M6ipthYS+RzpmOuHVX4qeA2pOMUHM1MF8u+k8yqPLGFGKgr6p dU6XqV0OFWo03XeR8dx5vDg7I/mSzMjFhgS1pDIdaOYpmjWrqr4zdRI5TkCx/pwx F2Nrr5kJtMpRB1QDhdRNGGCV6OYMCAMs+Be5OqdHoxdH2LHPXr7RVB2XrSUNYlqV 2cv4sahpv35j5TTlnSWJQsGStIz4gvB+Z1Z725ThTvH2Rvojn5dpBriMiwsRZ1eC b7ckw6OdLGsQiSvshiFLD7YengyrW9vYuFA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudehledgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeegfeejhedvledvffeijeeijeeivddvhfeliedvleevheejleetgedukedt gfejveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0DBB0B60089; Sat, 9 Sep 2023 04:28:34 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-711-g440737448e-fm-20230828.001-g44073744 Mime-Version: 1.0 Message-Id: <2545f40a-0c59-491d-895f-4a7975faaedc@app.fastmail.com> In-Reply-To: <64ea8cf65a4318fbf8c91cb3062d90a2555007c4.1694093327.git.geert@linux-m68k.org> References: <64ea8cf65a4318fbf8c91cb3062d90a2555007c4.1694093327.git.geert@linux-m68k.org> Date: Sat, 09 Sep 2023 10:28:14 +0200 From: "Arnd Bergmann" To: "Geert Uytterhoeven" , linux-m68k@lists.linux-m68k.org Cc: "Finn Thain" , "Michael Schmitz" , "Philip Blundell" , "Greg Ungerer" , "Joshua Thompson" , "Sam Creasey" , "Laurent Vivier" , linux-kernel@vger.kernel.org Subject: Re: [PATCH 15/52] m68k: emu: Mark version[] __maybe_unused Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 7, 2023, at 15:41, Geert Uytterhoeven wrote: > When building with W=3D1: > > m68k/arch/m68k/emu/nfeth.c:42:19: warning: =E2=80=98version=E2=80=99= defined but=20 > not used [-Wunused-const-variable=3D] > 42 | static const char version[] =3D > | ^~~~~~~ > > Fix this while obeying the wishes of the original copyright holders by > marking version[] with __maybe_unused. > > Signed-off-by: Geert Uytterhoeven That will just drop it from the object file, maybe it should instead be marked "__used" ? Arnd