Re: [PATCH] scsi: ufs: tc-dwc-g210: make arrays static, reduces object code size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2017-09-12 at 12:32 +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> Don't populate const arrays on the stack, instead make them
> static.  Makes the object code smaller by over 740 bytes.
> 
> Before:
>    text	   data	    bss	    dec	    hex	filename
>    3840	    208	      0	   4048	    fd0	drivers/scsi/ufs/tc-dwc-g210.o
> 
> After:
>    text	   data	    bss	    dec	    hex	filename
>    2679	    624	      0	   3303	    ce7	drivers/scsi/ufs/tc-dwc-g210.o
> 
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Please CC the most active contributors of a driver when submitting a driver
patch. Anyway:

Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux