ata: libata-sff: "foo * const * bar" should be "foo * const *bar"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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)
 {



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux