Re: [PATCH] libata-eh: Use switch() instead of sparse array for protocol strings

Tejun Heo
2017-01-09T16:04:24Z

Hello,

On Mon, Jan 09, 2017 at 04:40:19PM +0100, Geert Uytterhoeven wrote:
> There are two more that annoy me, but I don't know how to fix them:
>
> ata_scsi_rbuf - 4096 +4096
> ata_force_param_buf - 4096 +4096

ata_force_param_buf is __initdata and shouldn't really matter.
ata_scsi_rbuf, hmmm, idk. Maybe we can allocate it dynamically when
registering the first ATA device so that systems w/o them can avoid
the wastage.

Thanks.

--
tejun