This commit fixes the following checkpatch errors:
./drivers/ata/libata-sff.c:3145: ERROR: "foo * const * bar" should be
"foo * const *bar"
./drivers/ata/libata-sff.c:3177: ERROR: "foo * const * bar" should be
"foo * const *bar"
Signed-off-by: Yu Han <[email protected]>
---
drivers/ata/libata-sff.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index 9d28bad..54777b0 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -3142,7 +3142,7 @@ void ata_pci_bmdma_init(struct ata_host *host)
* 0 on success, -errno otherwise.
*/
int ata_pci_bmdma_prepare_host(struct pci_dev *pdev,
- const struct ata_port_info * const * ppi,
+ const struct ata_port_info * const *ppi,
struct ata_host **r_host)
{
int rc;
@@ -3174,7 +3174,7 @@ int ata_pci_bmdma_prepare_host(struct pci_dev
*pdev,
* Zero on success, negative on errno-based value on error.
*/
int ata_pci_bmdma_init_one(struct pci_dev *pdev,
- const struct ata_port_info * const * ppi,
+ const struct ata_port_info * const *ppi,
const struct scsi_host_template *sht, void *host_priv,
int hflags)
{