Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2887666rwb; Mon, 15 Aug 2022 13:20:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR72u5M8FxmXaYjblbc7BwouOhWTiMRK5aIKYxqRIUpu4qEP9lbU3o2zUbEU2+wvAsBkV+4K X-Received: by 2002:a17:907:1611:b0:731:87ce:523d with SMTP id hb17-20020a170907161100b0073187ce523dmr11305242ejc.49.1660594842542; Mon, 15 Aug 2022 13:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660594842; cv=none; d=google.com; s=arc-20160816; b=GF7Y9Mp26ar6uq3RdzuUE+WrIl2RoTU0f54WsmyoKcE0sjq/1NY+1qWFg9urGv8Y3K 8a+3oFVIMXvv+kLv0N0mWyzGRSksSfwL3sQUam0r821GojGNa6Guh5C9AQVXa6SYU9V9 XlHCTuCLg2ZkOaiVUre1zkl8Eqh/Vv//0HAeT8h7WoTadrS0rQjvRYIHFxy4ECGq9omM AKMC8EhBx4x6VH8mGuz9JS+CB+iXUJ15A2jg62+Kpa9UDb6LrICTZodPis/puYsM/Srq XGStA2rsukjoytBepBqdrwJE50YXCLtAb9vCpw8LbAoxRgNM2SGRlCbBxmNenQLfOWyq 6G1A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=aGLGWVp0txQDRTtTh/wuig80kcuNkdpX4+jcIgPtf38=; b=mTmf2m4wfim7iXTD9XryArsa/2WfAUR7UsXybfl1fADatXOpmEp/siwfoEPyjM4MDd N9xP5Esb87u6gkxdnJ93AmdIkQQaPrIjnGI/6GA0J58m748cfMjnmmDjotHbnhuu+CFR DYk/tkBqP0B4GexFrtAmhZqa1R2QSbaTntOy+IxqC8q4IUOvFpzNixb7Pz3p8M9In07/ Z7nzU7CsaY5dOjbRP/pPXrJ77IN9Ss9HmLSPMCMchzAy5Cm1XYYvR7Tsa5l5+u/sg7TV /0sOklC/uFTEJsSo0fhQSO5GFt3yRy8dbDgiSNYU08UWm6TWZZGZPNqIz0RzVfLXF9JN jzXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=T2T9K2OI; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb39-20020a1709071ca700b0072b3a316cc6si8024031ejc.977.2022.08.15.13.20.12; Mon, 15 Aug 2022 13:20:42 -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=@linuxfoundation.org header.s=korg header.b=T2T9K2OI; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345676AbiHOUEK (ORCPT + 99 others); Mon, 15 Aug 2022 16:04:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345748AbiHOUDX (ORCPT ); Mon, 15 Aug 2022 16:03:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 159EF7E00A; Mon, 15 Aug 2022 11:54:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AEA97B81057; Mon, 15 Aug 2022 18:54:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F32D6C433D6; Mon, 15 Aug 2022 18:54:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660589651; bh=bG6WZEtkvJKQQRwopgdToLYNGAltD+83E8byvLpG5wc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T2T9K2OIy7b3SAWaolpI+F5jG7OX7RUS5XypPwxR/gh2LFNcMjSk4denlRnVGloQi 3pQq1mcgxzopBn6TS4GxvfO92BTmAi4HXh5iQmPLVOBbqJedH7kOpuxx1cSBG4OVIO 97PcT5RGrc1C4D5fRjZjWjsLUp01j/FsbW21WqC8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tom Rix , Maxime Ripard Subject: [PATCH 5.15 769/779] drm/vc4: change vc4_dma_range_matches from a global to static Date: Mon, 15 Aug 2022 20:06:53 +0200 Message-Id: <20220815180410.252197458@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Tom Rix commit 63569d90863ff26c8b10c8971d1271c17a45224b upstream. sparse reports drivers/gpu/drm/vc4/vc4_drv.c:270:27: warning: symbol 'vc4_dma_range_matches' was not declared. Should it be static? vc4_dma_range_matches is only used in vc4_drv.c, so it's storage class specifier should be static. Fixes: da8e393e23ef ("drm/vc4: drv: Adopt the dma configuration from the HVS or V3D component") Signed-off-by: Tom Rix Signed-off-by: Maxime Ripard Link: https://patchwork.freedesktop.org/patch/msgid/20220629200101.498138-1-trix@redhat.com Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/vc4/vc4_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/vc4/vc4_drv.c +++ b/drivers/gpu/drm/vc4/vc4_drv.c @@ -214,7 +214,7 @@ static void vc4_match_add_drivers(struct } } -const struct of_device_id vc4_dma_range_matches[] = { +static const struct of_device_id vc4_dma_range_matches[] = { { .compatible = "brcm,bcm2711-hvs" }, { .compatible = "brcm,bcm2835-hvs" }, { .compatible = "brcm,bcm2835-v3d" },