From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH] scsi: scsi_transport_spi make two const arrays static, shrinks object size Date: Thu, 15 Feb 2018 18:21:02 -0500 Message-ID: References: <20180214223543.23237-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20180214223543.23237-1-colin.king@canonical.com> (Colin King's message of "Wed, 14 Feb 2018 22:35:43 +0000") Sender: linux-kernel-owner@vger.kernel.org To: Colin King Cc: "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 the const read-only arrays spi_test_unit_ready and > spi_test_unit_ready on the stack but instead make them static. Makes the > object code smaller by over 100 bytes: Applied to 4.17/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering