[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170901.183107.1909375784040394690.davem@davemloft.net>
Date: Fri, 01 Sep 2017 18:31:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: andrew@...n.ch, f.fainelli@...il.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: phy: bcm7xxx: make array bcm7xxx_suspend_cfg
static, reduces object code size
From: Colin King <colin.king@...onical.com>
Date: Thu, 31 Aug 2017 14:57:15 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> Don't populate the array bcm7xxx_suspend_cfg A on the stack, instead
> make it static. Makes the object code smaller by over 300 bytes:
>
> Before:
> text data bss dec hex filename
> 6351 8146 0 14497 38a1 drivers/net/phy/bcm7xxx.o
>
> After:
> text data bss dec hex filename
> 5986 8210 0 14196 3774 drivers/net/phy/bcm7xxx.o
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists