From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932456AbdGKRak (ORCPT ); Tue, 11 Jul 2017 13:30:40 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59584 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755848AbdGKRaj (ORCPT ); Tue, 11 Jul 2017 13:30:39 -0400 Date: Tue, 11 Jul 2017 19:30:35 +0200 From: Greg Kroah-Hartman To: Colin King Cc: Hans Verkuil , Mauro Carvalho Chehab , Thomas Petazzoni , Sakari Ailus , linux-media@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: fbtft: make const array gamma_par_mask static Message-ID: <20170711173035.GA12352@kroah.com> References: <20170711172002.19757-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170711172002.19757-1-colin.king@canonical.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 11, 2017 at 06:20:02PM +0100, Colin King wrote: > From: Colin Ian King > > Don't populate array gamma_par_mask on the stack but instead make it > static. Makes the object code smaller by 148 bytes: > > Before: > text data bss dec hex filename > 2993 1104 0 4097 1001 drivers/staging/fbtft/fb_st7789v.o > > After: > text data bss dec hex filename > 2757 1192 0 3949 f6d drivers/staging/fbtft/fb_st7789v.o > > Signed-off-by: Colin Ian King > --- > drivers/media/usb/gspca/xirlink_cit.c | 2 +- > drivers/staging/fbtft/fb_st7789v.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Your subject doesn't match the patch :(