Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1860606rwb; Fri, 19 Aug 2022 10:35:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR5iyC0/DuItIl/+zC9H0dTLJg2kY3w7TzsBJhlhVpMF0Uw3b7reQCetTqx1plUTnRPQVCam X-Received: by 2002:a05:6a00:1309:b0:535:d421:1347 with SMTP id j9-20020a056a00130900b00535d4211347mr8087740pfu.5.1660930524996; Fri, 19 Aug 2022 10:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660930524; cv=none; d=google.com; s=arc-20160816; b=EQnB/mIJHTY07M9ozPlyOv5WNK7GrkvKP7Wpvc4GlfqykxuvGcdFPgXrqEbuvwH1w8 i7Y2I2b465gx1ZrMICzDKHchdioGanGAxkOTYT9WBLrUk59ArG9FoKuQvFDnUAp3kbE7 6wTmMD3PN4i5De2BjK0+nftFikBxTDg5s27baIgekK5yWpJXvrgU05YCO1kdpCBaM/N8 0MOVvnf9cWfoPXcl+Fk3L6W/6leHE00vJExNUVqscyIczSQgOaIMNAK16oFBm8TeoKTh VZOZZbOWPuzlMkKquVnCQVw3O8bWliemHtFjI/B48JXnyGUR0EyZfpN2PmTZmr61vd2S enTQ== 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=lzlPEGgm+COFaiOWZo6ivh8j1/d4sMFKY3P4ZOEv2uc=; b=ySiQA9aODHV6rBjFlwHecuBwBy+RlgOkvRYea2o2fkkqXuJ0PS3DmNMyqaktXT7D/t rZLpIoQl8p2aVoBUQQoxKAD3RDlXH6ddRooSBef8CfFL1VPZLRcgpRmawB0iYhocLvK5 OmN2Xx+CO5Zg9jb0O6/BZrV9+8MLTwUGrFT4f7GogBlE9GUIL8YQQmFXehJPUSJ1+ylg oZ6fQYNWLH51dNWtpf+3Wysytkp0g/kzXYR6P6hg4QZvwUJjVpA88ToA0LZNz5OkB70I EFhv+xJc0O8LtiF1aDauFwl7jnmnn6w4HmG2KS8TB0gwEQiX/V4r3Yz7k/N4N5KqeXMq YxmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=EFdiOLNx; 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 y72-20020a638a4b000000b0042a33a60040si3122758pgd.712.2022.08.19.10.35.13; Fri, 19 Aug 2022 10:35: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=@linuxfoundation.org header.s=korg header.b=EFdiOLNx; 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 S1354539AbiHSQ61 (ORCPT + 99 others); Fri, 19 Aug 2022 12:58:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354551AbiHSQ6E (ORCPT ); Fri, 19 Aug 2022 12:58:04 -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 5076D8FD77; Fri, 19 Aug 2022 09:19:02 -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 6B30DB82804; Fri, 19 Aug 2022 16:13:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFBADC433C1; Fri, 19 Aug 2022 16:13:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660925634; bh=TPzgaIJuOizJxR9x4k1d5t0DH36A5tRfqFS8Y68oOhw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EFdiOLNx7kVYW4hG9RhfFRdEECUJ2n2OiNQJT9HyEMOwwmonAQVd/G+Y/ChIZ/wXr S33AOR86PLz7sgFbFTxAW6yEgnnzLdeHCM7AbDnQhqEyuUtF7+X3Z8jUiVlIDgCLW4 /j65FgdCGAJPF/qOyFAM3bo3EW+dMiMZzFDnV2kc= 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.10 535/545] drm/vc4: change vc4_dma_range_matches from a global to static Date: Fri, 19 Aug 2022 17:45:05 +0200 Message-Id: <20220819153853.527784471@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220819153829.135562864@linuxfoundation.org> References: <20220819153829.135562864@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 @@ -246,7 +246,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" },