[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210206100331.GK2656@vkoul-mobl.Dlink>
Date: Sat, 6 Feb 2021 15:33:31 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Kishon Vijay Abraham I <kishon@...com>,
linux-arm-msm@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [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@...onical.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
Powered by blists - more mailing lists