[<prev] [next>] [day] [month] [year] [list]
Message-ID: <c1103cc73a3cb587405dcc9326a583a5@208suo.com>
Date: Tue, 18 Jul 2023 16:32:53 +0800
From: hanyu001@...suo.com
To: dlemoal@...nel.org
Cc: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: ata: libata-sff: "foo * const * bar" should be "foo * const *bar"
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 <hanyu001@...suo.com>
---
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)
{
Powered by blists - more mailing lists