* ata: libata-sff: "foo * const * bar" should be "foo * const *bar"
[not found] <tencent_3B346C373B06E62D90341667146D42B78209@qq.com>
@ 2023-07-18 8:32 ` hanyu001
0 siblings, 0 replies; only message in thread
From: hanyu001 @ 2023-07-18 8:32 UTC (permalink / raw)
To: dlemoal; +Cc: linux-ide, linux-kernel
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@208suo.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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-18 8:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <tencent_3B346C373B06E62D90341667146D42B78209@qq.com>
2023-07-18 8:32 ` ata: libata-sff: "foo * const * bar" should be "foo * const *bar" hanyu001
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®