Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3372328iog; Mon, 27 Jun 2022 14:48:52 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vb/AVHg0Ai0KJFx4WImEQ3P6K7aIxSUXo0lzo0KdbuHnE3LCEKxX/eKSvdRdQGcBKeteB4 X-Received: by 2002:a05:6a00:1748:b0:525:4731:7f11 with SMTP id j8-20020a056a00174800b0052547317f11mr1214958pfc.72.1656366532336; Mon, 27 Jun 2022 14:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656366532; cv=none; d=google.com; s=arc-20160816; b=h0CEDOGrKfP2ASDbgaEqk0u+7WtOjM4f9plkVGgwnKVkT4z7QAq6MrkB8q+nfnTWlV MV5mg9sWuI371GaR6X+bucFw3w90XLFEB6CDjPaWL4iDm17EBSt0bHrh4gozKBLOLn8L VEQs5A/XmTu2rXm8Fkks7xupmO6+oBBFj2MxEXUGZmVezJcvXBhoz3ejL+1aEeNz/hqx hb7B6KRT9YepIz4vgrNugcHHNV7Wo6sGFxhfCraECxL5ZlLSvoiGoGa0oZul2mQTWBzi WEz2J8mhR6ZPdAduPEwXlO373FkZwC6QKde1WpzGiEqqgEpVhdHkSS1UXXIe0rZfuNA8 525Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=H1XknEnfRCFWWO1LXEJmw/yXLZDBD0z0CO+bXSUF3KY=; b=MCGRAcqc9qKJeBlC4qFEX2Kt1TqVUFCW32pZAODey7J3z+ZlWytBV/GN26Fa4dD30g wqKwNNTPdIP503g0Vy2xxilL3WmU2jhlR9dLs21bTdZtsYjmSsIodBaiMTYgz/9VXg8o Y3Jqz2A2JmVaBDP5iQ6WQkIER+TARxFTfLMVd3iuyRykPN1brsTzkkMNi6y56vH1xC36 3yU2WnWrA7vJq88Xe2I4f7cD1wn8TbMZN2XCqufRUCD41/bvJ1ZT6/5IMZObhYBK/Du0 r+xH1grGxORzSBrRcidUVDUf9J1nAIXylichHw/2kM2rjZ1WihlNuduikLVZA/r7n7uQ fhjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VfraCNxL; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j16-20020a170902da9000b00161720e6a48si18683571plx.308.2022.06.27.14.48.40; Mon, 27 Jun 2022 14:48:52 -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=@gmail.com header.s=20210112 header.b=VfraCNxL; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241285AbiF0Vnm (ORCPT + 99 others); Mon, 27 Jun 2022 17:43:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238871AbiF0Vnl (ORCPT ); Mon, 27 Jun 2022 17:43:41 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2CFBC4A for ; Mon, 27 Jun 2022 14:43:40 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id fd6so14934428edb.5 for ; Mon, 27 Jun 2022 14:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H1XknEnfRCFWWO1LXEJmw/yXLZDBD0z0CO+bXSUF3KY=; b=VfraCNxL3WGDCeRLxpsTD6VREJ07+yuuUDSzFON46Edw6+tXSXffSdDoF7eoQ4xdo1 4/eFKWb/m/jURAq8eVhrhAlrtNryoFQE2LZ3kwNC9xh1AnWbkoXeNGSkBzm9CH070RKQ tuGscuRmNWmyMAHr96xKdTXJFwtva3l5WPDSbeHDADaYA7AvpiboY0DY/e5hg8Nk8hfr 4o8P+8tiL4EoS+5WZ3J1KZ+QYcFKspqN5KVoUYaem4dhZhdUScy3tEoj9quq09ZkPKdA oEDh77ToBPLW+T7NoWX3X1k2GZNNRRO9//n2moFcOYbiy6e9MfRz5Iys81hsJ81gj20Y xRWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H1XknEnfRCFWWO1LXEJmw/yXLZDBD0z0CO+bXSUF3KY=; b=n+iCuXxlxFvaRtiyncxqDbJgf/k4J7S4TUXKZoKPeFJFg6epeRz9JwgdaabSrxHI/I 0IAy4TKL/SAtrmLUD0L1IlhIzV5Vb8My/iT4KISZr2hsCCd6IEvk5OaKrQjTXHUkcdsX oxLELKVUZ69ennWiaMSm8Jp10zCMs06LgiEhQgdQR5uMtdTzfaOWw8BOBmfmom+eNDVH UZiZz3/QzLCa02WTGuUps0UD0Hwf8mBPu9zpbwhtzWAVmYbQixreW4VrPtA3gcQsTfKA 0rpk0eNLYaskeusEKfrG2IwmUldC1L7JUHj1O1MyYeg61F0a9inWD3oSBahbV9rmJtbJ yGbg== X-Gm-Message-State: AJIora+0X0k8WV8Lknv3ITo7EOvYtQXdQwQyUJ2hpRmjcLuEDFwsdV/h RmhYeJxYHJgG0oGw8yWHsgiB41pbSkpUk9wzFZk= X-Received: by 2002:a05:6402:158e:b0:435:7d0f:ac85 with SMTP id c14-20020a056402158e00b004357d0fac85mr19127349edv.93.1656366219396; Mon, 27 Jun 2022 14:43:39 -0700 (PDT) MIME-Version: 1.0 References: <20220626144615.2227149-1-trix@redhat.com> <34b5c26c-bf3f-4b7c-3dd8-9e1317968c28@amd.com> In-Reply-To: <34b5c26c-bf3f-4b7c-3dd8-9e1317968c28@amd.com> From: Alex Deucher Date: Mon, 27 Jun 2022 17:43:27 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/display: change to_dal_irq_source_dnc32() storage class specifier to static To: Aurabindo Pillai Cc: Tom Rix , "Wentland, Harry" , "Leo (Sunpeng) Li" , "Siqueira, Rodrigo" , "Deucher, Alexander" , Christian Koenig , xinhui pan , Dave Airlie , Daniel Vetter , Qingqing Zhuo , "Limonciello, Mario" , "Kazlauskas, Nicholas" , =?UTF-8?B?TWHDrXJhIENhbmFs?= , Maling list - DRI developers , amd-gfx list , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Applied. Thanks! Alex On Mon, Jun 27, 2022 at 9:20 AM Aurabindo Pillai wrote: > > > > On 2022-06-26 10:46, Tom Rix wrote: > > sparse reports > > drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dcn32/irq_service_dcn32.c:39:20: warning: symbol 'to_dal_irq_source_dcn32' was not declared. Should it be static? > > > > to_dal_irq_source_dnc32() is only referenced in irq_service_dnc32.c, so change its > > storage class specifier to static. > > > > Fixes: 0efd4374f6b4 ("drm/amd/display: add dcn32 IRQ changes") > > Signed-off-by: Tom Rix > > --- > > drivers/gpu/drm/amd/display/dc/irq/dcn32/irq_service_dcn32.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/amd/display/dc/irq/dcn32/irq_service_dcn32.c b/drivers/gpu/drm/amd/display/dc/irq/dcn32/irq_service_dcn32.c > > index 3a213ca2f077..b1012fa1977b 100644 > > --- a/drivers/gpu/drm/amd/display/dc/irq/dcn32/irq_service_dcn32.c > > +++ b/drivers/gpu/drm/amd/display/dc/irq/dcn32/irq_service_dcn32.c > > @@ -36,7 +36,7 @@ > > > > #define DCN_BASE__INST0_SEG2 0x000034C0 > > > > -enum dc_irq_source to_dal_irq_source_dcn32( > > +static enum dc_irq_source to_dal_irq_source_dcn32( > > struct irq_service *irq_service, > > uint32_t src_id, > > uint32_t ext_id) > > Reviewed-by: Aurabindo Pillai