From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Date: Thu, 15 Feb 2018 23:21:02 +0000 Subject: Re: [PATCH] scsi: scsi_transport_spi make two const arrays static, shrinks object size Message-Id: List-Id: References: <20180214223543.23237-1-colin.king@canonical.com> In-Reply-To: <20180214223543.23237-1-colin.king@canonical.com> (Colin King's message of "Wed, 14 Feb 2018 22:35:43 +0000") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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