From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Eckhoff Subject: Re: [PATCH] ASoC: TSCS42xx: make const array norm_addrs static, reduces object code size Date: Thu, 8 Mar 2018 19:03:09 -0600 Message-ID: <20180309010308.GA19046@t7-ThinkPad-E560> References: <20180214172153.5749-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180214172153.5749-1-colin.king@canonical.com> Sender: linux-kernel-owner@vger.kernel.org To: Colin King Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org On Wed, Feb 14, 2018 at 05:21:53PM +0000, Colin King wrote: > Don't populate the const array norm_addrs on the stack, instead make it > static. Makes the object code smaller by over 230 bytes. Also re-format > array data as the insertion of the static keywork made the first line > overly long. I have tested this on our HAT and it works well. You can add: Reviewed-by: Steven Eckhoff Tested-by: Steven Eckhoff Regards, Steven