linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: asm-generic/pci_iomap: Correct wrong comment for #endif
@ 2021-08-03 12:30 Jonathan Cameron
  2021-08-20 21:17 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Cameron @ 2021-08-03 12:30 UTC (permalink / raw)
  To: Bjorn Helgaas, linux-pci; +Cc: linuxarm, Jonathan Cameron

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PCI: asm-generic/pci_iomap: Correct wrong comment for #endif
  2021-08-03 12:30 [PATCH] PCI: asm-generic/pci_iomap: Correct wrong comment for #endif Jonathan Cameron
@ 2021-08-20 21:17 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2021-08-20 21:17 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: Bjorn Helgaas, linux-pci, linuxarm

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-20 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 12:30 [PATCH] PCI: asm-generic/pci_iomap: Correct wrong comment for #endif Jonathan Cameron
2021-08-20 21:17 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).