Re: [PATCH] scsi: ufs: make array setup_attrs static const, makes object smaller

2019-09-30 Thread Martin K. Petersen
Colin, > Don't populate the array setup_attrs on the stack but instead make it > static const. Makes the object code smaller by 180 bytes. Applied to 5.5/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH] scsi: ufs: make array setup_attrs static const, makes object smaller

2019-09-06 Thread Colin King
From: Colin Ian King Don't populate the array setup_attrs on the stack but instead make it static const. Makes the object code smaller by 180 bytes. Before: textdata bss dec hex filename 2140 224 02364 93c drivers/scsi/ufs/ufshcd-dwc.o After: text