* [PATCH] include/asm-generic/iomap.h: trivial: use '__GENERIC_IOMAP_H' instead of '__GENERIC_IO_H'
@ 2013-06-28 2:31 Chen Gang
2013-06-28 2:35 ` Chen Gang
0 siblings, 1 reply; 4+ messages in thread
From: Chen Gang @ 2013-06-28 2:31 UTC (permalink / raw)
To: 'Jiri Kosina', Arnd Bergmann, Geert Uytterhoeven
Cc: linux-kernel, Linux-Arch
Recommend to let the header file macro mark match the file name.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
include/asm-generic/iomap.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/asm-generic/iomap.h b/include/asm-generic/iomap.h
index 6afd7d6..236c78c 100644
--- a/include/asm-generic/iomap.h
+++ b/include/asm-generic/iomap.h
@@ -1,5 +1,5 @@
-#ifndef __GENERIC_IO_H
-#define __GENERIC_IO_H
+#ifndef __GENERIC_IOMAP_H
+#define __GENERIC_IOMAP_H
#include <linux/linkage.h>
#include <asm/byteorder.h>
@@ -78,4 +78,4 @@ static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
#include <asm-generic/pci_iomap.h>
-#endif
+#endif /* __GENERIC_IOMAP_H */
--
1.7.7.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] include/asm-generic/iomap.h: trivial: use '__GENERIC_IOMAP_H' instead of '__GENERIC_IO_H'
2013-06-28 2:31 [PATCH] include/asm-generic/iomap.h: trivial: use '__GENERIC_IOMAP_H' instead of '__GENERIC_IO_H' Chen Gang
@ 2013-06-28 2:35 ` Chen Gang
2013-06-28 2:37 ` [PATCH v2] include/asm-generic/iomap.h: trivial: use '__ASM_GENERIC_IOMAP_H' " Chen Gang
0 siblings, 1 reply; 4+ messages in thread
From: Chen Gang @ 2013-06-28 2:35 UTC (permalink / raw)
To: 'Jiri Kosina', Arnd Bergmann, Geert Uytterhoeven
Cc: linux-kernel, Linux-Arch
Oh, sorry, need use '__ASM_GENERIC_IOMAP_H, instead.
I will send patch v2.
On 06/28/2013 10:31 AM, Chen Gang wrote:
> Recommend to let the header file macro mark match the file name.
>
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
> ---
> include/asm-generic/iomap.h | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/asm-generic/iomap.h b/include/asm-generic/iomap.h
> index 6afd7d6..236c78c 100644
> --- a/include/asm-generic/iomap.h
> +++ b/include/asm-generic/iomap.h
> @@ -1,5 +1,5 @@
> -#ifndef __GENERIC_IO_H
> -#define __GENERIC_IO_H
> +#ifndef __GENERIC_IOMAP_H
> +#define __GENERIC_IOMAP_H
>
> #include <linux/linkage.h>
> #include <asm/byteorder.h>
> @@ -78,4 +78,4 @@ static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
>
> #include <asm-generic/pci_iomap.h>
>
> -#endif
> +#endif /* __GENERIC_IOMAP_H */
>
--
Chen Gang
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] include/asm-generic/iomap.h: trivial: use '__ASM_GENERIC_IOMAP_H' instead of '__GENERIC_IO_H'
2013-06-28 2:35 ` Chen Gang
@ 2013-06-28 2:37 ` Chen Gang
2013-07-05 1:07 ` Chen Gang F T
0 siblings, 1 reply; 4+ messages in thread
From: Chen Gang @ 2013-06-28 2:37 UTC (permalink / raw)
To: 'Jiri Kosina', Arnd Bergmann, Geert Uytterhoeven
Cc: linux-kernel, Linux-Arch
Recommend to let the header file macro mark match the file name.
Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
include/asm-generic/iomap.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/asm-generic/iomap.h b/include/asm-generic/iomap.h
index 6afd7d6..facfb39 100644
--- a/include/asm-generic/iomap.h
+++ b/include/asm-generic/iomap.h
@@ -1,5 +1,5 @@
-#ifndef __GENERIC_IO_H
-#define __GENERIC_IO_H
+#ifndef __ASM_GENERIC_IOMAP_H
+#define __ASM_GENERIC_IOMAP_H
#include <linux/linkage.h>
#include <asm/byteorder.h>
@@ -78,4 +78,4 @@ static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
#include <asm-generic/pci_iomap.h>
-#endif
+#endif /* __ASM_GENERIC_IOMAP_H */
--
1.7.7.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] include/asm-generic/iomap.h: trivial: use '__ASM_GENERIC_IOMAP_H' instead of '__GENERIC_IO_H'
2013-06-28 2:37 ` [PATCH v2] include/asm-generic/iomap.h: trivial: use '__ASM_GENERIC_IOMAP_H' " Chen Gang
@ 2013-07-05 1:07 ` Chen Gang F T
0 siblings, 0 replies; 4+ messages in thread
From: Chen Gang F T @ 2013-07-05 1:07 UTC (permalink / raw)
To: 'Jiri Kosina', Arnd Bergmann, Geert Uytterhoeven
Cc: linux-kernel, Linux-Arch, Greg KH
Hello maintainers:
Please help check this patch whether OK, when you have time.
Thanks.
On 06/28/2013 10:37 AM, Chen Gang wrote:
> Recommend to let the header file macro mark match the file name.
>
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
> ---
> include/asm-generic/iomap.h | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/asm-generic/iomap.h b/include/asm-generic/iomap.h
> index 6afd7d6..facfb39 100644
> --- a/include/asm-generic/iomap.h
> +++ b/include/asm-generic/iomap.h
> @@ -1,5 +1,5 @@
> -#ifndef __GENERIC_IO_H
> -#define __GENERIC_IO_H
> +#ifndef __ASM_GENERIC_IOMAP_H
> +#define __ASM_GENERIC_IOMAP_H
>
> #include <linux/linkage.h>
> #include <asm/byteorder.h>
> @@ -78,4 +78,4 @@ static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
>
> #include <asm-generic/pci_iomap.h>
>
> -#endif
> +#endif /* __ASM_GENERIC_IOMAP_H */
>
--
Chen Gang
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-07-05 1:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-28 2:31 [PATCH] include/asm-generic/iomap.h: trivial: use '__GENERIC_IOMAP_H' instead of '__GENERIC_IO_H' Chen Gang
2013-06-28 2:35 ` Chen Gang
2013-06-28 2:37 ` [PATCH v2] include/asm-generic/iomap.h: trivial: use '__ASM_GENERIC_IOMAP_H' " Chen Gang
2013-07-05 1:07 ` Chen Gang F T
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).