Re: [PATCH v4 03/27] ata: make SATA_PMP option selectable only if any SATA host driver is enabled

From: Christoph Hellwig
Date: Thu Mar 26 2020 - 05:46:07 EST


On Tue, Mar 17, 2020 at 03:43:09PM +0100, Bartlomiej Zolnierkiewicz wrote:
> There is no reason to expose SATA_PMP config option when no SATA
> host drivers are enabled. To fix it add SATA_HOST config option,
> make all SATA host drivers select it and finally make SATA_PMP
> config options depend on it.
>
> This also serves as preparation for the future changes which
> optimize libata core code size on PATA only setups.
>
> CC: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxx>
> Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> # for SCSI bits
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>