From patchwork Tue Apr 4 18:53:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 13200892 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D73CC761A6 for ; Tue, 4 Apr 2023 18:54:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232696AbjDDSyV (ORCPT ); Tue, 4 Apr 2023 14:54:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbjDDSyU (ORCPT ); Tue, 4 Apr 2023 14:54:20 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A84C7170F for ; Tue, 4 Apr 2023 11:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680634414; 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=j0M5QDGBellEBnHKe7QL0tgh7mmOP32p1W0jTZXhVvA=; b=gLRWa6MIpmuTrol0ciHBIsZf2UZR+Q4+9QpSTiDTbgKX86ecizK3mskYEq6Ze9RFpFB8QH GJBW/LVK9/L5vpLXvU1HuhV7LfI7voAYvkIFn5Q2JK3pE68WVxUKw+MJFVge7PwzrvLiOF g9JPU2Q4hNT2IeWiVIKq0wPn5OFb9cM= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-383-AdOf1Y_yMtmg4qNCkuMmow-1; Tue, 04 Apr 2023 14:53:33 -0400 X-MC-Unique: AdOf1Y_yMtmg4qNCkuMmow-1 Received: by mail-qv1-f71.google.com with SMTP id q1-20020ad44341000000b005a676b725a2so15056021qvs.18 for ; Tue, 04 Apr 2023 11:53:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680634413; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=j0M5QDGBellEBnHKe7QL0tgh7mmOP32p1W0jTZXhVvA=; b=4yoUTwPqdFoc/d+6M2c5uvRKTX+iZC/G9HEV11AvjZK1zDAcsgSdAvAkNBscGEKOZM MosgbRuJhUOvBXUd+pR+UhDxTDY2LmVjONLMm71oAhXQvuJPr9wfvaCqTZwBzPztshsL d96XuEg69yLoVpdM0LETxTa1cmzY9LPSQQ7zPlhsyBXUpPh5kE0I/1TfSiD8pkaI4a83 SrytdZcGu/2oHp3dXgFS4uKoDB7Kze5ob4SbPEOGsuTLO8yTQuFWc0trK652bvgxxZhG YZqRUU1CO9ucQndkPpSLSALKTPgsfD5HY9vki5Wp53quTfdCbsQMjUFdKzW4r/56OiYw lZrQ== X-Gm-Message-State: AAQBX9cqKVhkbllnHFno6HXW4h9r8EA7BskqdbM0gUMhA5wz/3fuLt6f +z2CsrHkalAEuRiMX813I5D1HZii8f/0sL1n2PMt5sGwe+CBXgie9kepcPhKoryN6p6kuxYcbah qn4VuhrnYyw+ipOLYZLahgHvNXwoHi+/81g== X-Received: by 2002:a05:622a:138b:b0:3e4:e8be:c3a4 with SMTP id o11-20020a05622a138b00b003e4e8bec3a4mr741054qtk.56.1680634412932; Tue, 04 Apr 2023 11:53:32 -0700 (PDT) X-Google-Smtp-Source: AKy350aHha48xVckQMZBBBOfNL67WaM8+Vk8RyO27WZmOEbqXBCe+GmWfP76gbamBPcNYhZvXnXLKA== X-Received: by 2002:a05:622a:138b:b0:3e4:e8be:c3a4 with SMTP id o11-20020a05622a138b00b003e4e8bec3a4mr741035qtk.56.1680634412694; Tue, 04 Apr 2023 11:53:32 -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 f9-20020ac84989000000b003e38f7e4562sm3400800qtq.69.2023.04.04.11.53.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 11:53:32 -0700 (PDT) From: Tom Rix To: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, airlied@gmail.com, daniel@ffwll.ch, vladimir.lypak@gmail.com Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] drm/msm/mdp5: set varaiable msm8x76_config storage-class-specifier to static Date: Tue, 4 Apr 2023 14:53:29 -0400 Message-Id: <20230404185329.1925964-1-trix@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org smatch reports drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c:658:26: warning: symbol 'msm8x76_config' was not declared. Should it be static? This variable is only used in one file so should be static. Signed-off-by: Tom Rix Reviewed-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c index 1f1555aa02d2..2eec2d78f32a 100644 --- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c +++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c @@ -655,7 +655,7 @@ static const struct mdp5_cfg_hw msm8x96_config = { .max_clk = 412500000, }; -const struct mdp5_cfg_hw msm8x76_config = { +static const struct mdp5_cfg_hw msm8x76_config = { .name = "msm8x76", .mdp = { .count = 1,