lkml.org 
[lkml]   [2021]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] phy: qcom-qmp: make a const array static, makes object smaller
On 04-02-21, 18:03, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Don't populate the const array cfg1_settings on the stack but instead make
> it static. Makes the object code smaller by 24 bytes:
>
> Before:
> text data bss dec hex filename
> 73585 20240 64 93889 16ec1 drivers/phy/qualcomm/phy-qcom-qmp.o
>
> After:
> text data bss dec hex filename
> 73465 20336 64 93865 16ea9 drivers/phy/qualcomm/phy-qcom-qmp.o
>
> (gcc version 10.2.0)

Applied, thanks

--
~Vinod

\
 
 \ /
  Last update: 2021-02-06 11:05    [W:0.038 / U:6.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site