[PATCH] openrisc: fix include file protection

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 3 05:02:28 PDT 2025


Fixes:

arch/openrisc/include/asm/common.h:3: error: header guard '_ASM_COMMON_H' followed by '#define' of a different macro [-Werror=header-guard]

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/openrisc/include/asm/common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/openrisc/include/asm/common.h b/arch/openrisc/include/asm/common.h
index 06bb4824a2..320037de32 100644
--- a/arch/openrisc/include/asm/common.h
+++ b/arch/openrisc/include/asm/common.h
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 
-#ifndef _ASM_COMMON_H
+#ifndef __ASM_COMMON_H
 #define __ASM_COMMON_H
 
-#endif /* _ASM_COMMON_H */
+#endif /* __ASM_COMMON_H */
-- 
2.47.2




More information about the barebox mailing list