Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4547283rwe; Mon, 17 Apr 2023 14:34:13 -0700 (PDT) X-Google-Smtp-Source: AKy350bimg+Zwmr+YTTPzPb/RhWHJwqi2TkbgMe4rpCWmKKeRks6y4gWtejOvU+EVJXKyLyWmTry X-Received: by 2002:a17:902:e890:b0:1a0:549d:399e with SMTP id w16-20020a170902e89000b001a0549d399emr403730plg.21.1681767253729; Mon, 17 Apr 2023 14:34:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681767253; cv=none; d=google.com; s=arc-20160816; b=exsHU0JSRr+9mlEZmulDvHJg4gjG6IhNUleMtV/UoJbknwpc6rivhvmaCI2dUMih4k aIr2GLqh/leWmNzKEz7FS0wE+pa3/EDfLByvWX7g4+8R72l4RJ4RZhzo+qmRrQNiu8xA BaOHfbJxvM0/QSxfFpK5v5945HAQOf/aA50klEvo7f3s5WeGSMS5VSzV0ceule5xArcl xGnARu5M+989rDAC3PJhWIHxNxpBIjwvazQ50JSSE7a4Cd7SV3k3oYtZrXr1pUZRliPg BDJaALu4x0r0BdbwhQu0kGL9IavLjAJOtzV28TjdQHZ6xpTRSY2oRBtn2nHg55posyWZ 9YqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=mC5DuaozRZOtAfkgxPWm4eLWSyE/qIa2ZY/soYhKUHU=; b=ADfIsC8/ZL4gvLhxVLA4W8dr2jyCd8+uIbEMmA0hqGilqWTSrt4g3WxRcTXtjac2OR 02CdDdRqxgwgFm1uZt9xZRlqWam9q3zA7ItsjFmL/b/DpLG32Q7z+LgXU3CQvfVE8LM8 iLHmOnG9BqVIv1bv799dPYeRGe68VWtfpwYkhn0S/qVNMjJLJlQGLu14APYNce+BG4lB gnNYEZaPCsgT8vj3tLPPH9ZQl5erK5Uh9F8j6MTz/YA4vEswWFEzihueOwRFs0NaCV2L yxhE2RTRZiAUJNBlIa7ezWSkEm75JTI2gVDWUN6O1xq+ZlW84/YFLobtVdmFwT7/r5qN 6x+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=l+GQ8d07; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iX870AtN; 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 y13-20020a1709027c8d00b001a197aa18fesi11971767pll.121.2023.04.17.14.33.59; Mon, 17 Apr 2023 14:34:13 -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=@arndb.de header.s=fm2 header.b=l+GQ8d07; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iX870AtN; 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 S229995AbjDQVPB (ORCPT + 99 others); Mon, 17 Apr 2023 17:15:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbjDQVO7 (ORCPT ); Mon, 17 Apr 2023 17:14:59 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB6224232 for ; Mon, 17 Apr 2023 14:14:58 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 1DF8A3200913; Mon, 17 Apr 2023 17:14:57 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Mon, 17 Apr 2023 17:14:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc: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=fm2; t=1681766096; x=1681852496; bh=mC 5DuaozRZOtAfkgxPWm4eLWSyE/qIa2ZY/soYhKUHU=; b=l+GQ8d078hCM1xjfO/ gUbbAG4xtPuBG6RprgWz1nukoce59e9tsiv02GCC90zlWdVpUnq/KcTQTAhcw2H/ omRwKI7vA1wqMPsmlVU20t4AQzf+drS5gJi2Jqzgj3Zys/XvCz+bnPlgCEobchNE /qAddAhDRflIQsg2sbSD+XBchNnsLajLkoBbOdJAfB3YQ4FvzlsOUzDzEhxZpr75 NRI0gbkGtZJVXJOAn6x2Rm6SL5Cjlua3zmbVuvumDHDJms9BJDGDQUN7fWlYiTfm BkbuPF5bkYbqZkR+usRJK4dCjdlX/grLQi7Xi6XFLG8bWXZhVl+B7CohWqHCEC3i BPBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=fm3; t=1681766096; x=1681852496; bh=mC5DuaozRZOtA fkgxPWm4eLWSyE/qIa2ZY/soYhKUHU=; b=iX870AtNY8yMO5uSFmk2eyLjvSphX O98KD4jOhavoZtkuBESGQGjnVIsetJ2M7wnBysWX2R/sAu887WTHrXrJihAkTE7w E8ojF5Vz4f/r0nocwXWeuAxzzUr4/xNGb+cw80qbJO1tFr0V9dzKIzLALbMlLK8b dbNH15rPbOrde94+af1x2bTZ28rJOPPM9rwAp6u3yrjOkwrMhmNughxzDIaGNCWw z6uruCXO3s9QFAJBFMBhNExWY5v+3sQ95mbIdbkYBGd5aq//kqdiKQXKe5o3RAKi eWnyBKwO6kFiquox6WIyr30yRuE0dKIcfyC9QN0YgzvgrI4a1othrWkxw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeliedgudehkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 296A1B60086; Mon, 17 Apr 2023 17:14:56 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-372-g43825cb665-fm-20230411.003-g43825cb6 Mime-Version: 1.0 Message-Id: <0d966637-6074-4d54-a299-41d063e05310@app.fastmail.com> In-Reply-To: References: <20230417210602.2614198-1-arnd@kernel.org> Date: Mon, 17 Apr 2023 23:14:28 +0200 From: "Arnd Bergmann" To: "Hamza Mahfooz" , "Arnd Bergmann" , "Harry Wentland" , "Leo Li" , "Rodrigo Siqueira" , "Alex Deucher" , =?UTF-8?Q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , "Dave Airlie" , "Daniel Vetter" Cc: "Nicholas Kazlauskas" , "Taimur Hassan" , "Jasdeep Dhillon" , "Alex Hung" , "Michael Strauss" , "Aurabindo Pillai" , "Qingqing Zhuo" , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] drm/amd/display: mark dccg314_init() static Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 Mon, Apr 17, 2023, at 23:12, Hamza Mahfooz wrote: > On 4/17/23 17:05, Arnd Bergmann wrote: >> From: Arnd Bergmann >> >> The newly introduced global function is not declared in a header or >> called from another file, causing a harmless warning with sparse >> or W=1 builds: >> >> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_dccg.c:277:6: error: no previous prototype for 'dccg314_init' [-Werror=missing-prototypes] >> >> Mark it static instead. >> >> Fixes: 6f6869dcf415 ("drm/amd/display: prep work for root clock optimization enablement for DCN314") >> Signed-off-by: Arnd Bergmann > > This has already been fixed as of commit 669f4ac40947 ("drm/amd/display: > set variable dccg314_init storage-class-specifier to static") in > amd-staging-drm-next. Ok, thanks. I waited for a rebase on today's linux-next before posting mine to make sure it's not already fixed, it must have just missed the cut-off. Arnd