Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3044409rwb; Mon, 15 Aug 2022 16:48:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR5skPF570Ws8RZ4EvNWzCGcqMc+Rvh1rEjk7OGqbVxP7qi4dE8w6Sn93AnHfdjKdGI9JmdO X-Received: by 2002:a17:903:2583:b0:171:46c7:a2a with SMTP id jb3-20020a170903258300b0017146c70a2amr19277635plb.97.1660607292240; Mon, 15 Aug 2022 16:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660607292; cv=none; d=google.com; s=arc-20160816; b=jFiwbgxR0pO45zgUlJwm0dbWurAdLUB+GB64T1G+z61Bjv5Pr7T8DQU2UXrW6dD5Vy cm+/emEDmFfmn3NhNV0YODjcTyG5psuN7rA+6FsJssBh3CD9Tje9/4QdppuoGRHVZ/vS XX0zLbaNYrpCObhVYv5DANMi39zD9LE62NMKTpOB2GPTJSG04zdl82cEwnSwyUo/RppL +6WLIHUnjQL8XYKk1KSH1x6Yz9Mqjylam+xLA9NbqC7Ill3yTVCZtkrfTII0X90pkx0A F0SwxuYAwLWTwbd4NqUuUCuheggop59ILXNGgP+q/1dh+qzgTa2v8NGOmXQuuE/8jOvG 5w7w== 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=EIhI4qNKFa/VRenbquKys/UuRrp6wwGMPlnHKq94vdo=; b=JWdc816pzbPwd1w7lZDB59gX2QRAfQPZuoq5rYdoD/xo20cS1DAqUofrmYZ8B0avN2 CdKwRT7j/xPhKf2skOXfZNlECLalzdGFaNbpDwJS6IaD+ae7XepTVNgl+EYgDVGE4y2/ +yoNNwg5vPjimkI6R+RRQK+wdqfLvwjvftgrKyjPX4pIh14UmiXPjGBYchs/mOzrt0Hg vcMsT1wfBYYe4xVsqxyXPD/1/wDM6s94IEtfoEPJqzwIfLdLnGrjNEnTmlV0x8A1D/cp SzJa6THuME63NfwvgdeO/ZeZka9Ywc6Dgf1lu9bE2vt3Dh1Ar3q2nRtAuSKIq4G7DpdC HqFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HhWZM0s3; 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 z1-20020a63e541000000b0041ca4ae78a6si12247213pgj.65.2022.08.15.16.48.00; Mon, 15 Aug 2022 16:48:12 -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=HhWZM0s3; 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 S1354602AbiHOXqA (ORCPT + 99 others); Mon, 15 Aug 2022 19:46:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354305AbiHOXlu (ORCPT ); Mon, 15 Aug 2022 19:41:50 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8BD52BB24; Mon, 15 Aug 2022 13:12:01 -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 9CB26B80EA8; Mon, 15 Aug 2022 20:12:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5A01C433D6; Mon, 15 Aug 2022 20:11:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594319; bh=MiXMrstoPWpyTCuBDxKm+tRaMe6TlgPj+u9hx714plc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HhWZM0s3IIBzGxwSScSTWoE+30kJetG/u0pxcI4I+c45rW2TUYBLAAcfjWz/hmPIm ssR9ZOjshSlfu2DeOUYegcZvs7Ol15Jm4Fq4gMWcWkEvVnxBFJNdpnTRN8RVpaD+Ke wse2Yl72CuFut0Yp+m9OaEzHd/fYFiBo+cIlytN4= 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.18 1092/1095] drm/vc4: change vc4_dma_range_matches from a global to static Date: Mon, 15 Aug 2022 20:08:11 +0200 Message-Id: <20220815180514.184361196@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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 @@ -209,7 +209,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" },