[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200526075630.wjevamadh5mcnleb@gilmour.lan>
Date: Tue, 26 May 2020 09:56:30 +0200
From: Maxime Ripard <maxime@...no.tech>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc: Joerg Roedel <joro@...tes.org>, iommu@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, Chen-Yu Tsai <wens@...e.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/2] iommu/sun50i: Constify sun50i_iommu_ops
On Mon, May 25, 2020 at 11:49:58PM +0200, Rikard Falkeborn wrote:
> The struct sun50i_iommu_ops is not modified and can be made const to
> allow the compiler to put it in read-only memory.
>
> Before:
> text data bss dec hex filename
> 14358 2501 64 16923 421b drivers/iommu/sun50i-iommu.o
>
> After:
> text data bss dec hex filename
> 14726 2117 64 16907 420b drivers/iommu/sun50i-iommu.o
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
Acked-by: Maxime Ripard <mripard@...nel.org>
Thanks!
Maxime
Powered by blists - more mailing lists