lkml.org 
[lkml]   [2017]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] HID: hid-lg: make array cbuf static const to shink object code size
On Fri, 25 Aug 2017, Colin King wrote:

> From: Colin Ian King <colin.king@canonical.com>
>
> Don't populate array cbuf on the stack, instead make it static.
> Makes the object code smaller by over 110 bytes:
>
> Before:
> text data bss dec hex filename
> 15096 3504 128 18728 4928 drivers/hid/hid-lg.o
>
> After:
> text data bss dec hex filename
> 14884 3600 128 18612 48b4 drivers/hid/hid-lg.o
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, thanks.

--
Jiri Kosina
SUSE Labs

\
 
 \ /
  Last update: 2017-09-06 11:00    [W:0.032 / U:0.500 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site