From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754099AbdGLVYA (ORCPT ); Wed, 12 Jul 2017 17:24:00 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:25186 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752614AbdGLVX6 (ORCPT ); Wed, 12 Jul 2017 17:23:58 -0400 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 Subject: Re: [PATCH] scsi: hisi_sas: make several const arrays static From: "Martin K. Petersen" Organization: Oracle Corporation References: <20170711121144.15840-1-colin.king@canonical.com> Date: Wed, 12 Jul 2017 17:23:43 -0400 In-Reply-To: <20170711121144.15840-1-colin.king@canonical.com> (Colin King's message of "Tue, 11 Jul 2017 13:11:44 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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