Re: [PATCH] scsi: scsi_transport_spi make two const arrays static, shrinks object size

From: Martin K. Petersen
Date: Thu Feb 15 2018 - 18:21:14 EST



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