From mboxrd@z Thu Jan 1 00:00:00 1970 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 9566CC433FE for ; Wed, 17 Nov 2021 11:03:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 59FB861C12 for ; Wed, 17 Nov 2021 11:03:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 59FB861C12 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=vanguardiasur.com.ar Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ztN2DFKt4YTI9hF7I/ODqAD8czKoQpgtcOgixNt3Bwk=; b=d9Vcp90Qlf7kGN rZfouhM1QXpr0tpxmloBdLgulnZNqEM+FnyWBPQVU3TCBGxW8tKWQ5YaH3GISAzxS8dw9pRh2Z6Oe JUivDOvl6FBqBe2WOAsZ78q7sCh/PAdD+BKRUlcw62u7mEmyabGhXg3nMdNO0NqIN1SIfpSdQX062 SXk26eo3thASb6CbFzSbfuDej7oxZ3rPjhRm8UjbK/O/dkKWfblVPlZ58fHZz8AGp0ZfDeUM1cqWu Ct6rBktng1nLD3p0SN8nHYTO8HV85hmHS0Wk4qf4QSBpWXrKULatDL4t9zLbtnEpp/kKKcyXy7M4T bX7Hd/uZ8QbV5peGU/og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnIhG-004Wny-Vy; Wed, 17 Nov 2021 11:01:47 +0000 Received: from mail-ua1-x932.google.com ([2607:f8b0:4864:20::932]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnIh7-004Wjh-W2 for linux-arm-kernel@lists.infradead.org; Wed, 17 Nov 2021 11:01:39 +0000 Received: by mail-ua1-x932.google.com with SMTP id i6so4940684uae.6 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=mk7JyJwa+y5SeDQeFxDg2VOmCb9RDV9zabuW1tF+B2z7mJYEHWfGK1iWyoyKJeDucz zB05fa8glFt9eHtvjaKlG/OES4zgwKW+yMsQ77fp0nN3Kvam6GBUapOpCqGifk+YuNv6 kdrgi1c8HwLRQsyxU+hBHX6+yySmQATQuRNfZJmt2jXxLaT9FtfES2Lv8e0DIZFDZ/ZH 11Mv5UG5KCHTEMugw5SygzvuiqniLxRDpmjDQHwOKe/Ln2fCI95n0WWlCKBPBsyLiAx0 cSPL1Mb9q+HHxRdyVevYqLtRawadwbJOf1VFHbNanXEYDQsXgPJhBAntlA25WdRRRUC5 aGlQ== X-Gm-Message-State: AOAM531dDaBGRdlDIuHA76Aq2tiHMMxLuohVaof4Z7dz2sgU7OwxPcRv d52xW5I84BFu2FFGvV0Ump8/p+oS91rFdQ== 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-Disposition: inline In-Reply-To: <20211116143842.75896-12-andrzej.p@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211117_030138_070526_9363FED2 X-CRM114-Status: GOOD ( 17.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel