lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170907075612.oijcvnxjymygb22p@dell>
Date:   Thu, 7 Sep 2017 08:56:12 +0100
From:   Lee Jones <lee.jones@...aro.org>
To:     Colin King <colin.king@...onical.com>
Cc:     kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: stw481x: make three arrays static const, reduces
 object code size

On Tue, 05 Sep 2017, Colin King wrote:

> From: Colin Ian King <colin.king@...onical.com>
> 
> Don't populate the arrays vcore_val, vpll_val and vaux_val on the
> stack, instead make them static const.  Makes the object code smaller
> by over 370 bytes:
> 
> Before:
>    text	   data	    bss	    dec	    hex	filename
>    6971	   3248	     64	  10283	   282b	drivers/mfd/stw481x.o
> 
> After:
>    text	   data	    bss	    dec	    hex	filename
>    6338	   3504	     64	   9906	   26b2	drivers/mfd/stw481x.o
> 
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
>  drivers/mfd/stw481x.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

Applied for v4.15, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ