diff mbox series

PCI: asm-generic/pci_iomap: Correct wrong comment for #endif

Message ID 20210803123014.2963814-1-Jonathan.Cameron@huawei.com
State New
Headers show
Series PCI: asm-generic/pci_iomap: Correct wrong comment for #endif | expand

Commit Message

Jonathan Cameron Aug. 3, 2021, 12:30 p.m. UTC
If we are going to have comments on header guard #endifs then they should
be correct and match the #ifndef

I'm guessing this one is a cut and paste error or has bit rotted.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 include/asm-generic/pci_iomap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bjorn Helgaas Aug. 20, 2021, 9:17 p.m. UTC | #1
On Tue, Aug 03, 2021 at 08:30:14PM +0800, Jonathan Cameron wrote:
> If we are going to have comments on header guard #endifs then they should
> be correct and match the #ifndef
> 
> I'm guessing this one is a cut and paste error or has bit rotted.
> 
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Applied to pci/misc for v5.15, thanks!

> ---
>  include/asm-generic/pci_iomap.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/asm-generic/pci_iomap.h b/include/asm-generic/pci_iomap.h
> index d4f16dcc2ed7..df636c6d8e6c 100644
> --- a/include/asm-generic/pci_iomap.h
> +++ b/include/asm-generic/pci_iomap.h
> @@ -52,4 +52,4 @@ static inline void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar,
>  }
>  #endif
>  
> -#endif /* __ASM_GENERIC_IO_H */
> +#endif /* __ASM_GENERIC_PCI_IOMAP_H */
> -- 
> 2.19.1
>
diff mbox series

Patch

diff --git a/include/asm-generic/pci_iomap.h b/include/asm-generic/pci_iomap.h
index d4f16dcc2ed7..df636c6d8e6c 100644
--- a/include/asm-generic/pci_iomap.h
+++ b/include/asm-generic/pci_iomap.h
@@ -52,4 +52,4 @@  static inline void __iomem *pci_iomap_wc_range(struct pci_dev *dev, int bar,
 }
 #endif
 
-#endif /* __ASM_GENERIC_IO_H */
+#endif /* __ASM_GENERIC_PCI_IOMAP_H */