Skip to contentSkip to conversation

selftests/powerpc: ppc_asm.h: typo in the header guard

PATCH In review Denis Efremov 2 participants 2 messages Jun 23, 2019 – Jun 28, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/powerpc: ppc_asm.h: typo in the header guard

The guard macro __PPC_ASM_H in the header ppc_asm.h doesn't match the #ifndef macro _PPC_ASM_H. The patch makes them the same.

---
 tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h +1 -1
index d2c0a911f55e..2b488b78c4f2 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _PPC_ASM_H
-#define __PPC_ASM_H
+#define _PPC_ASM_H
 #include <ppc-asm.h>
 
 #ifndef r1
Signature · 1 line
2.21.0
#1 lore raw
Quoted 8 lines · Denis Efremov

The guard macro __PPC_ASM_H in the header ppc_asm.h doesn't match the #ifndef macro _PPC_ASM_H. The patch makes them the same.

---
 tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

I'll merge this.

Please include linuxppc-dev on powerpc selftest patches.

cheers

Quoted 14 lines
tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h +1 -1
index d2c0a911f55e..2b488b78c4f2 100644
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 #ifndef _PPC_ASM_H
-#define __PPC_ASM_H
+#define _PPC_ASM_H
 #include <ppc-asm.h>
 
 #ifndef r1
Signature · 1 line
2.21.0