Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2980915iog; Mon, 27 Jun 2022 06:55:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uTJRdMTgIgH7Wd5/okslNq3y8758oumxaeJjp1DvFLp/+TLja323i0YtzA1rp4NStneN/6 X-Received: by 2002:a17:906:9751:b0:722:e52b:aef7 with SMTP id o17-20020a170906975100b00722e52baef7mr12489397ejy.537.1656338127581; Mon, 27 Jun 2022 06:55:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656338127; cv=pass; d=google.com; s=arc-20160816; b=k+zmOZXgNMKzovNG5jtmCaLo3EPBiN2tsVCTK98CL6Yo72vYpPVNA3fPPszjaotk3v 0PiKynRMdAhZ1DJ9p0djpQv2iR1RXLvwHHh2VaObJc0vmjA+OMQtgd6RP1RgwoJh1Boi dERCCdXI0a4pIaiprCQXTNosl5jfYSUyz4VbUKCWZD5IS6P7ClJpfgBgDvuzrTLvDIv/ aZBHEyeqrom1uws2bK+7PCjKII/+W3qvxt2X3D51LuV34Dd74DgDRzXmE5ACpWIDmC2P SdYkMVQzT28wv85wsvCkgjwr/drkkfZZ6by/jGDBQLG1uunuH1vK25F0b5Nq8WYBS7RD TO8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=Q20C6SnQHqMPznC6Z28Vvkmn6wOMcf61p22+fnjcnhA=; b=oDuj4bSL5aXlJZdNw941k/F6zBuQAp65FHHmpDZAV+LnE5+LaV0hH3x1foSM//P3w9 jOheM8746T8d2XnWPzwHMaDkxREzctZVR4X5FM9bXwPn1aX5SpG8qSPCBD9BUxQFmjPO WCr+xkZxA3FKF/QrAf9V6631eaKDoql4aUZrjxBrLgIRu+mo24JK18XJ94sFdUbzHBrr NPxoiBJqzYngPGaKrd8gATkPl4Mis4XUKLtxrKQCc78EJ3K9bdVb1D9b7qpzG5skNivj Ia/5MVmm4QaQ+aCLUlMHXTAzVUvzBt0U9bI5SYO8lGG6FI2O2OGnuYyH2hJFSU6w/NRv vwOw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=g718TmgT; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m21-20020a056402431500b0043763eaf2cfsi11447566edc.595.2022.06.27.06.54.39; Mon, 27 Jun 2022 06:55:27 -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=@amd.com header.s=selector1 header.b=g718TmgT; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235491AbiF0NUU (ORCPT + 99 others); Mon, 27 Jun 2022 09:20:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234136AbiF0NUS (ORCPT ); Mon, 27 Jun 2022 09:20:18 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2083.outbound.protection.outlook.com [40.107.243.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 819A310A3 for ; Mon, 27 Jun 2022 06:20:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k4StscwISwSUXkzswdKAEYTYS07Nl81syxCh5REbAmJ8JVSUPwtX8Rh1KK9dJ8aBSiQJK5sdGVflcS+3DmYuFyXya/DiqMTkATGv5BQ8TAYpRMT/p5UwCyp1i7L0uqsQrSovJlb/S7M65b4PeFVuNNIdPg2HaC4+AtTJMLg7/3dbPf00RXvcvCleWeS54gKc9u7ROGq5t+VhdvDdoRWFUz/H09dblFoC2q6Wu8PpfYEZLCRSvekDxBFCdLxWqdU5qNR3H5u7UlANw9e1zeOVSFL7zYg+AmLQRN07e9L5FVyexeI1OJXo0Lm488WMy0AcY+tn0zhVfAnhlw4eEqjyEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Q20C6SnQHqMPznC6Z28Vvkmn6wOMcf61p22+fnjcnhA=; b=BraPfVsCDhdhxJm/23r/lhu8oXo0jc5loUMLKGyrDI67Obi693tdzvrfB2WOFYGwL54lwnc+Cv64orSbkgl+p8Ql/Wlb3M5o+yTfR3hhiso83xjagXKecbSn4DMIdFnDtgZRih2ZNPH79H2gniZqY6NB1U8ovXdKltl8qZQB2po3wirel0A3HOK4ioAGJV8NvRTEpMXDPVg0Ce+TyWsgoOH83cuSnaSguZqgIkwh5yz6zN6olcLqyulcPLN5VYhlXtEqUHmv/hGyKObwd1C6njI2k/Gh8ji8Cw+VAqxGMqMTi+j6/c7xaji2L8Em0popJuwDCzFuTQg4csWFMG25zA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q20C6SnQHqMPznC6Z28Vvkmn6wOMcf61p22+fnjcnhA=; b=g718TmgTCgDqE5OmBWNmDEhxjVdoFNi87lImkQd3kicelsDtmmEQgVlvd+w3vWT+gv/t/mT7eTR77AWhcYWxSJZO7aD2h2xVyKZC3R6MGdHTexsjaqkl1uDXAHNBPWTAxoLbJ37NISlNi1ODRFfhkgxN+R+MlPQxalEBgf7uBp4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH0PR12MB5284.namprd12.prod.outlook.com (2603:10b6:610:d7::13) by DM6PR12MB2953.namprd12.prod.outlook.com (2603:10b6:5:189::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.16; Mon, 27 Jun 2022 13:20:15 +0000 Received: from CH0PR12MB5284.namprd12.prod.outlook.com ([fe80::1563:b9e5:78e3:5c15]) by CH0PR12MB5284.namprd12.prod.outlook.com ([fe80::1563:b9e5:78e3:5c15%5]) with mapi id 15.20.5373.018; Mon, 27 Jun 2022 13:20:15 +0000 Message-ID: <34b5c26c-bf3f-4b7c-3dd8-9e1317968c28@amd.com> Date: Mon, 27 Jun 2022 09:20:13 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] drm/amd/display: change to_dal_irq_source_dnc32() storage class specifier to static Content-Language: en-US To: Tom Rix , harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, Qingqing.Zhuo@amd.com, mario.limonciello@amd.com, nicholas.kazlauskas@amd.com, maira.canal@usp.br Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20220626144615.2227149-1-trix@redhat.com> From: Aurabindo Pillai In-Reply-To: <20220626144615.2227149-1-trix@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BLAPR03CA0024.namprd03.prod.outlook.com (2603:10b6:208:32b::29) To CH0PR12MB5284.namprd12.prod.outlook.com (2603:10b6:610:d7::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4d03025e-08cf-44a1-90ea-08da583fc5b4 X-MS-TrafficTypeDiagnostic: DM6PR12MB2953:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0v5WqIXv/IgvnzrtBMhQJ9/e2rlFWaai9U7vzvfB/i6Gkws+oAmG9U+TtP+VvCUM76fQtPhABHjw5HVXEMjojQf9Zs3XUPiKD+eTgZfGoRwtUdW7er3UybY56ZQ28/fmnue6JQNWD3NFwhrEZzByGidvo2mKNc693fLklPl/6cAc78TRd+k9cm9DmnXQP5bz+za2NpzB19Q6H1C7Y9shZCLkZoJNO0OfQCPzopHUuKoiRZHIN4BI0vbjYxW5ljO0PPQzjThAoHVTPaNo5l2hbxn27XkNN016ZVsyKHuhNuVtQphMfS3gcrwKgMGhyvqktM7enhrmGnsaniuHWL2sWWzFeBgrYkLoTfe3VxhMhtkf1P/hy0Juy4aynuwxYGZILsQo1blm6SCqjfHJW0bav+DkaaBPmr7xyS6Xeq91w5NOuyp2j1RfEpDI3tsdFTjs5XXfnmrvVG/gA9nmZbuDTijOR0uYlCJNL58Xcm/J1FUGCJS2lToEEt43DQfFBBjqARzH9+EVdho76L33yDmgdvGP6EWyjw2jxMGBwZsc+LiSvlcmij2JPTVaVp6R7Gb9cb/MxCrQh7TmweN4Vkg75r/N1wiX+BAfptRj+LpI4btqRbcb8/xLRmuJLI/BCYWcADu3X1LtShTAkgtb5zYCefhij84+wUZ9QoxlqLu3DzFlRuyRRB6rFrVFuK2oM7FgeHD3ofyKvrhDda+bCaCwTTE+wDw0iI6iKebfAnvdys7jNTsdAseSodv/myDDx3+/hsx189tGNrTIfXaxj6vyz8FuUh5cqKi5owKJ7UGlUOYCeo7Hb+ivzTngTuPq3anKn/NhtU+60qJj1dsqim/5WGU3SA/UtH/CDMies3/X5/A= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR12MB5284.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(39860400002)(376002)(396003)(136003)(366004)(921005)(316002)(8936002)(66476007)(2616005)(31686004)(5660300002)(83380400001)(53546011)(36756003)(8676002)(186003)(478600001)(44832011)(2906002)(6512007)(66556008)(38100700002)(41300700001)(26005)(6506007)(31696002)(6486002)(4326008)(66946007)(86362001)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TFNDbWM3Q0VKa3hxWWJmaDdsNWhCL2w5UGhHc0dlc2hlbW5mdno5dDRta3ls?= =?utf-8?B?R0JkVEVEOThsUUMxWVZ1V3d2OUZKRXFxSVRDUkIzZ1Y5T0tmOG1xMlFiU2Iy?= =?utf-8?B?a2RKa1lNaWt6VlVDbDNVTEFjRVp5bDBWNnZhL3VGMjlsR25qTFFJa1lXU21U?= =?utf-8?B?ZUtrYjQ4QWVUaVpHLytqMjdzN3hhVVArVjZ0ZUJkVmQ5aVZFQW1XeXUybDdv?= =?utf-8?B?aWgwbFZIRkM3WWZJYy9HZDhKbG9ZamVOSzFSUm9DQkxmWVJuSEpBdnBVOWFL?= =?utf-8?B?b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VzUGRp?= =?utf-8?Q?Nxq6PRJBHlpDnfdGh/M23wRRv?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d03025e-08cf-44a1-90ea-08da583fc5b4 X-MS-Exchange-CrossTenant-AuthSource: CH0PR12MB5284.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2022 13:20:15.0894 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oh+f/K20sjGT4wJRG/zTJ3kxeiiLLmq36LQAntnge8jndNuBC3iq6jZsAMRM3FSKlpK4aygtyMFb5bMK2oBwOA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2953 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,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 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