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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E051C433EF for ; Wed, 17 Nov 2021 11:01:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E802361BD3 for ; Wed, 17 Nov 2021 11:01:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236614AbhKQLEh (ORCPT ); Wed, 17 Nov 2021 06:04:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235805AbhKQLEg (ORCPT ); Wed, 17 Nov 2021 06:04:36 -0500 Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC828C061570 for ; Wed, 17 Nov 2021 03:01:37 -0800 (PST) Received: by mail-ua1-x92b.google.com with SMTP id p2so4875916uad.11 for ; Wed, 17 Nov 2021 03:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=czk1gMWNKXWl8chfFRRwl73Bh8CMWwWD2CpmdeQ3Jb4=; b=4ocR6khZ7SMJBnmoPmytAiz4Pbd+lZ8NL6T/RvZSPS0K2vzKwCGWLWjhWVEemeD25R A0eBsX2Ibnb0SIECwwiCRtEp9Oe72SC7a12h/B5PhV96vZwIHj2Wk8v6cDi7BsCN5eyP j2TmaBb/HML3Nu1CvDX2Sbhl2viHSVNVo36mAxztD8M9ecDs/tLtFCN6HyTX1d+/DwrR LH3ILZyLRiiwO58/qPEI7owfmQyb5sBtSU6Wk8xVB2gnsThBRBPn7QB1Lzm8MckDgW1P 5sWNO0/3iZYMCyatS6QxiM4gVHGoSg/Nci8CaUAFu1fekATNHdb+jpSHvBCkSFitJAjw wtog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=czk1gMWNKXWl8chfFRRwl73Bh8CMWwWD2CpmdeQ3Jb4=; b=WJLSMGacFYvV15O8alpoYLWkmSG9LqM820YxtvuIa/JojvhKupnpwbP0NUgTl9bC39 2khMdDYDGbqLYTygHD7SAlCxQqrhj7r88DymiiWsfwpC+p79pbPnTEfqn/SZuk+DeULR JDaEwFYJPCgYyEg+3EaFhprSbwd8RY0zxS1eQCUnq1p2NiOLNMm8fyyML4b+IEj8SPBm faB2hU7ICYvPz8oVcmzfSrYmYqmpz7kYEUEn+WzYWl6Jezsxe1oESAD3RhDFWRGxCrYA EkhMyYnQ+780OkUDXDfAj2Uu412Dvi8MWPPcZxhizjPsoMvcOJhkFkb6QuCW8BF5dVsR 6sjQ== X-Gm-Message-State: AOAM532jlPUCmbHBq80uHbSNQAqaG8xNPxPHBvGJouvfcH2C7WYcKRtx BPlwyeaXRH9b6622+giSaGjbxg== X-Google-Smtp-Source: ABdhPJwPYB21ayTea+GyZOeZYIv+kUpZQDhZWKYMm0kaZ2x1ybUNAdz8Pgc+NVlaA8KYMpC0o8jccw== X-Received: by 2002:a67:fa0f:: with SMTP id i15mr65495172vsq.16.1637146896937; Wed, 17 Nov 2021 03:01:36 -0800 (PST) Received: from eze-laptop ([186.122.18.126]) by smtp.gmail.com with ESMTPSA id y22sm11422513vkn.42.2021.11.17.03.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 03:01:35 -0800 (PST) Date: Wed, 17 Nov 2021 08:01:28 -0300 From: Ezequiel Garcia To: Andrzej Pietrasiewicz Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev, Benjamin Gaignard , Boris Brezillon , Fabio Estevam , Greg Kroah-Hartman , Hans Verkuil , Heiko Stuebner , Jernej Skrabec , Mauro Carvalho Chehab , Nicolas Dufresne , NXP Linux Team , Pengutronix Kernel Team , Philipp Zabel , Sascha Hauer , Shawn Guo , kernel@collabora.com Subject: Re: [PATCH v8 11/12] media: hantro: Staticize a struct in postprocessor code Message-ID: References: <20211116143842.75896-1-andrzej.p@collabora.com> <20211116143842.75896-12-andrzej.p@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211116143842.75896-12-andrzej.p@collabora.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 16, 2021 at 03:38:41PM +0100, Andrzej Pietrasiewicz wrote: > The struct is not used outside this file, so it can be static. > > Signed-off-by: Andrzej Pietrasiewicz Reviewed-by: Ezequiel Garcia > --- > drivers/staging/media/hantro/hantro_postproc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/media/hantro/hantro_postproc.c b/drivers/staging/media/hantro/hantro_postproc.c > index 4549aec08feb..89de43021779 100644 > --- a/drivers/staging/media/hantro/hantro_postproc.c > +++ b/drivers/staging/media/hantro/hantro_postproc.c > @@ -33,7 +33,7 @@ > #define VPU_PP_OUT_RGB 0x0 > #define VPU_PP_OUT_YUYV 0x3 > > -const struct hantro_postproc_regs hantro_g1_postproc_regs = { > +static const struct hantro_postproc_regs hantro_g1_postproc_regs = { > .pipeline_en = {G1_REG_PP_INTERRUPT, 1, 0x1}, > .max_burst = {G1_REG_PP_DEV_CONFIG, 0, 0x1f}, > .clk_gate = {G1_REG_PP_DEV_CONFIG, 1, 0x1}, > -- > 2.25.1 >