From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH] scsi: hisi_sas: make several const arrays static Date: Wed, 12 Jul 2017 17:23:43 -0400 Message-ID: References: <20170711121144.15840-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20170711121144.15840-1-colin.king@canonical.com> (Colin King's message of "Tue, 11 Jul 2017 13:11:44 +0100") Sender: linux-kernel-owner@vger.kernel.org To: Colin King Cc: John Garry , "James E . J . Bottomley" , "Martin K . Petersen" , linux-scsi@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-scsi@vger.kernel.org Colin, > Don't populate various tables on the stack but make them static const. > Makes the object code smaller by over 280 bytes: Applied to 4.13/scsi-fixes. -- Martin K. Petersen Oracle Linux Engineering