Re: [PATCH] scsi: ufs: ufs-exynos: make a const array static, makes object smaller
From: Martin K. Petersen
Date: Wed May 26 2021 - 00:08:19 EST
On Wed, 5 May 2021 20:01:04 +0100, Colin King wrote:
> Don't populate the const array granularity_tbl on the stack but instead it
> static. Makes the object code smaller by 190 bytes:
>
> Before:
> text data bss dec hex filename
> 25563 6908 0 32471 7ed7 ./drivers/scsi/ufs/ufs-exynos.o
>
> [...]
Applied to 5.14/scsi-queue, thanks!
[1/1] scsi: ufs: ufs-exynos: make a const array static, makes object smaller
https://git.kernel.org/mkp/scsi/c/5ac3c649f11c
--
Martin K. Petersen Oracle Linux Engineering