lkml.org 
[lkml]   [2017]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] scsi: hisi_sas: make several const arrays static
From
Date
On 11/07/2017 13:11, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Don't populate various tables on the stack but make them static const.
> Makes the object code smaller by over 280 bytes:
>
> Before:
> text data bss dec hex filename
> 39887 5080 64 45031 afe7 hisi_sas_v2_hw.o
>
> After:
> text data bss dec hex filename
> 39318 5368 64 44750 aece hisi_sas_v2_hw.o
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---

Acked-by: John Garry <john.garry@huawei.com>


\
 
 \ /
  Last update: 2017-07-11 19:12    [W:0.048 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site