Skip to contentSkip to conversation

include/uapi/sound/firewire.h: use "_UAPI" instead of "UAPI"

PATCH Applied Chen Gang 3 participants 5 messages Nov 7, 2013

Subsystems (2)
lore
Share & tools
lore

Chen Gang

author
#0 lore raw

PATCH 1/1 include/uapi/sound/firewire.h: use "_UAPI" instead of "UAPI"

When installing, "scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".

So use "_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".

---
 include/uapi/sound/firewire.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
include/uapi/sound/firewire.h +3 -3
index e86131c..59f5961 100644
@@ -1,5 +1,5 @@
-#ifndef UAPI_SOUND_FIREWIRE_H_INCLUDED
-#define UAPI_SOUND_FIREWIRE_H_INCLUDED
+#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED
+#define _UAPI_SOUND_FIREWIRE_H_INCLUDED
 
 #include <linux/ioctl.h>
 
@@ -48,4 +48,4 @@ struct snd_firewire_get_info {
  * Returns -EBUSY if the driver is already streaming.
  */
 
-#endif
+#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */
Signature · 1 line
1.7.7.6
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Chen Gang

When installing, "scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".

So use "_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".

Quoted 22 lines
---
 include/uapi/sound/firewire.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
include/uapi/sound/firewire.h +3 -3
index e86131c..59f5961 100644
@@ -1,5 +1,5 @@
-#ifndef UAPI_SOUND_FIREWIRE_H_INCLUDED
-#define UAPI_SOUND_FIREWIRE_H_INCLUDED
+#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED
+#define _UAPI_SOUND_FIREWIRE_H_INCLUDED
 
 #include <linux/ioctl.h>
 
@@ -48,4 +48,4 @@ struct snd_firewire_get_info {
  * Returns -EBUSY if the driver is already streaming.
  */
 
-#endif
+#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */
author
#2 lore raw
Quoted 11 lines · Clemens Ladisch
Quoted 8 lines · Chen Gang
Quoted 8 lines

When installing, "scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".

So use "_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".

Thank you very much !!

Signature · 1 line
Chen Gang
Applied
#3 lore raw
In reply to Chen Gang

At Thu, 07 Nov 2013 11:14:29 +0800,

Quoted 10 lines · Chen Gang

When installing, "scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".

So use "_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".

Thanks, applied.

Takashi

Quoted 25 lines
---
 include/uapi/sound/firewire.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
include/uapi/sound/firewire.h +3 -3
index e86131c..59f5961 100644
@@ -1,5 +1,5 @@
-#ifndef UAPI_SOUND_FIREWIRE_H_INCLUDED
-#define UAPI_SOUND_FIREWIRE_H_INCLUDED
+#ifndef _UAPI_SOUND_FIREWIRE_H_INCLUDED
+#define _UAPI_SOUND_FIREWIRE_H_INCLUDED
 
 #include <linux/ioctl.h>
 
@@ -48,4 +48,4 @@ struct snd_firewire_get_info {
  * Returns -EBUSY if the driver is already streaming.
  */
 
-#endif
+#endif /* _UAPI_SOUND_FIREWIRE_H_INCLUDED */
Signature · 1 line
1.7.7.6
author
#4 lore raw
Quoted 7 lines · Takashi Iwai

At Thu, 07 Nov 2013 11:14:29 +0800,

Quoted 5 lines · Chen Gang
Quoted 5 lines

When installing, "scripts/headers_install.sh" will strip guard macro' "_UAPI" to prevent from appearing it to users. And also, all another files which need uapi prefix always use "_UAPI", not "UAPI".

Quoted 6 lines
Quoted 5 lines
Quoted 5 lines

So use "_UAPI" instead of "UAPI" on the guard macro, and also give a comment for "#endif".

Thanks, applied.

Thank you very much !!

Signature · 1 line
Chen Gang