Re: [PATCH][V2] dmaengine: sh: make array ds_lut static

From: Vinod Koul
Date: Mon Oct 25 2021 - 02:45:57 EST


On 15-09-21, 12:20, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Don't populate the read-only array ds_lut on the stack but instead it
> static. Also makes the object code smaller by 163 bytes:
>
> Before:
> text data bss dec hex filename
> 23508 4796 0 28304 6e90 ./drivers/dma/sh/rz-dmac.o
>
> After:
> text data bss dec hex filename
> 23281 4860 0 28141 6ded ./drivers/dma/sh/rz-dmac.o
>
> (gcc version 11.2.0)

Applied, thanks

--
~Vinod