Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2151370iog; Sun, 26 Jun 2022 08:01:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u5DFN4nGFa7aorEhdd65CI6KgTzRcjrP1m5LS0A9BdijR7L8ORcnkhD7WMJw9zOX3zPAw/ X-Received: by 2002:a17:90a:760e:b0:1ec:83e0:3ae1 with SMTP id s14-20020a17090a760e00b001ec83e03ae1mr15072708pjk.25.1656255684957; Sun, 26 Jun 2022 08:01:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656255684; cv=none; d=google.com; s=arc-20160816; b=CGIZF9R3qssMzkgjvj4KfuvYyWJ3nOiamLaLqYDCr22JJc1SBIOIHy4bP/ZHCbZxk0 0Zfr/CdCMSNNJh2+RQYMlDPc+Fs6vRy8M4XiuEc3EX8NT80TFykQicrNAKliiDvm3Ixr KpC8C8vu39IYbRHEwh+C2KhxFjLO9GNQhpVh3X9KrZ2+OMawW1DuWeV2d2BzzkNhDZAs k3e1meeIFR1ueTV0r2uofi45xy0WZtrbjZzGtGhwfbT/rhW2xnYaEaGxS71+kcR6eJcx r7NI2Bs8E1krE10M1qDCJ0N4EcScdrNUxAbiYGTwCmqhFfXsT4+42w/td8zEQX2anbDm QlbQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=5EXh2xkTs1zBkhfCl8CTHqf9DxClLVCKfcSwd9L8zzg=; b=Qw4oeFGqWPlzxoJwqjm9g/eOSTR810vGDFyRlUbZCna+T3uCC9+qajS5XZWG5g1ch5 aPT4iEEuZBToQxB/hB0fPEzyQoaxzZp5JHWXToC764h/mBv9M4wOdhdC4AA+f/vAW4Rm ti7H00lgVPktxX4Wsqe5w/racXcCfnXXRIB4WZPJvOQJAy9XMgM8LUeIjkd4Ggy7532v xsTjVb6iFPX8VRVk+vrVY2YogLL+/ge5Ucz1qTaQjRpbY1eVvH2gbCjt7wEZiUlQgj7h 0e7DYIxmvZALXlW9aHISQtcqEWnEZtj+swAjmYlPYsm0MHTTZyX2QVAbscivbOluMFcw y/SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FrJpvHXI; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p20-20020a1709028a9400b0016a613012a4si10307239plo.418.2022.06.26.08.01.11; Sun, 26 Jun 2022 08:01:24 -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=@redhat.com header.s=mimecast20190719 header.b=FrJpvHXI; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230359AbiFZOq1 (ORCPT + 99 others); Sun, 26 Jun 2022 10:46:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbiFZOq0 (ORCPT ); Sun, 26 Jun 2022 10:46:26 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 18B24DFD8 for ; Sun, 26 Jun 2022 07:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656254781; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5EXh2xkTs1zBkhfCl8CTHqf9DxClLVCKfcSwd9L8zzg=; b=FrJpvHXIW1OTGgisNIeazetbem2rm2qB2+C/sXSDLMmDnxDbQdtSry2Ox1SBD3WlexL7ky TAxMasRrSYmdcmnOjaWRU9dNXXKSLikNsHgXuUIT9+pSBqhR+A1/OlVJQU+4KmBLpVF9gE pZWLMgODLEtYv4WyNTWisNF85cTBcHc= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-332-DKJpAloiNqylPxl0ZyhtRg-1; Sun, 26 Jun 2022 10:46:20 -0400 X-MC-Unique: DKJpAloiNqylPxl0ZyhtRg-1 Received: by mail-qk1-f199.google.com with SMTP id m15-20020a05620a290f00b006a74cf760b2so7897759qkp.20 for ; Sun, 26 Jun 2022 07:46:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5EXh2xkTs1zBkhfCl8CTHqf9DxClLVCKfcSwd9L8zzg=; b=uO9ev9sryG612iViA2XVCxU3tKPGSjtYG8CDkDtAN3ksiBNhjW+eszR7dfsqVKlshz 3lcwaMX1RSv7XGk0vf7R7Sux7Vsk+Itl1Ql/WUSt4rlF7F5RH2qrKHjfpgbWBu5OknjK Es010jf7reN9JuF38TP5C8R2efFox12USTo/U88FQSTitp6KxdSgN1fD0ffffGM1OuNg 2OnBXpYSFX5dPis23H/yZ9Jn6X0EUFKFBuGiKcE76DKHeE/gAIfPPwLGHSWk067zckz6 LhEN5cRUeQAPegkgsEZquLLbR5rC96lOfeezJJraKV3XrceduRPwf902EaLTNJZsVTfW 78Lg== X-Gm-Message-State: AJIora+sUL/eGOCeLErFqk+DdRwmyU7qg2CQaX6WTFQqFoHbPZ9Jv7kb Q/U/qSJmwJF+2ToTanDm9R7996GFcfWsymxQk1LQaQ3+I15evixK+Lg8AEZxmXxzyW8pbex74/H KWjhufKNIGWHVMhugM1BtBqat X-Received: by 2002:a05:6214:1c49:b0:470:5f70:4ab1 with SMTP id if9-20020a0562141c4900b004705f704ab1mr6041404qvb.13.1656254780312; Sun, 26 Jun 2022 07:46:20 -0700 (PDT) X-Received: by 2002:a05:6214:1c49:b0:470:5f70:4ab1 with SMTP id if9-20020a0562141c4900b004705f704ab1mr6041396qvb.13.1656254780138; Sun, 26 Jun 2022 07:46:20 -0700 (PDT) Received: from dell-per740-01.7a2m.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id 22-20020ac85916000000b00317bcb6ad2csm5343266qty.17.2022.06.26.07.46.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 07:46:19 -0700 (PDT) From: Tom Rix To: 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, aurabindo.pillai@amd.com, maira.canal@usp.br Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] drm/amd/display: change to_dal_irq_source_dnc32() storage class specifier to static Date: Sun, 26 Jun 2022 10:46:15 -0400 Message-Id: <20220626144615.2227149-1-trix@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,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 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) -- 2.27.0