[PATCH] scsi: ufs: ufs-exynos: make a const array static, makes object smaller
Martin K. Petersen
martin.petersen at oracle.com
Tue May 25 21:07:19 PDT 2021
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
More information about the linux-arm-kernel
mailing list