Thread (2 messages) 2 messages, 2 authors, 2017-09-06

Re: [PATCH] libata: zpodd: make arrays cdb static, reduces object code size

From: Tejun Heo <tj@kernel.org>
Date: 2017-09-06 14:41:02
Also in: kernel-janitors, lkml

On Wed, Sep 06, 2017 at 09:56:29AM +0100, Colin King wrote:
From: Colin Ian King <redacted>

Don't populate the arrays cdb on the stack, instead make them static.
Makes the object code smaller by 230 bytes:

Before:
   text	   data	    bss	    dec	    hex	filename
   3797	    240	      0	   4037	    fc5	drivers/ata/libata-zpodd.o

After:
   text	   data	    bss	    dec	    hex	filename
   3407	    400	      0	   3807	    edf	drivers/ata/libata-zpodd.o

Signed-off-by: Colin Ian King <redacted>
Applied to libata/for-4.14.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help