RE: [PATCH] usb: gadget: udc: renesas_usb3: make const array max_packet_array static

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

 



Hi Colin,

> From: Colin King, Sent: Friday, November 3, 2017 12:53 AM
> 
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> Don't populate the const array max_packet_array on the stack, instead make
> it static. Makes the object code smaller by over 90 bytes:
> 
> Before:
>    text	   data	    bss	    dec	    hex	filename
>   34337	   5612	    128	  40077	   9c8d	renesas_usb3.o
> 
> After:
>    text	   data	    bss	    dec	    hex	filename
>   34149	   5708	    128	  39985	   9c31	renesas_usb3.o
> 
> (gcc version 7.2.0 x86_64)
> 
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Thank you for the patch!

Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>

Best regards,
Yoshihiro Shimoda

��.n��������+%������w��{.n����z�ޗ�����n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux