* [PATCH] riscv: insn-def.h: Fix header guard
@ 2025-04-28 4:48 Mayuresh Chitale
2025-05-08 7:29 ` Leo Liang
0 siblings, 1 reply; 2+ messages in thread
From: Mayuresh Chitale @ 2025-04-28 4:48 UTC (permalink / raw)
To: u-boot; +Cc: Mayuresh Chitale, Rick Chen, Leo, Tom Rini
Fix the erroneous header guard for insn-def.h to reflect the correct
header name.
Fixes: bfc8ca3f7f6 ("riscv: Add support for defining instructions")
Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
---
arch/riscv/include/asm/insn-def.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/riscv/include/asm/insn-def.h b/arch/riscv/include/asm/insn-def.h
index 19a10cad84c..1869342b167 100644
--- a/arch/riscv/include/asm/insn-def.h
+++ b/arch/riscv/include/asm/insn-def.h
@@ -5,8 +5,8 @@
* Ported from linux insn-def.h.
*/
-#ifndef _ASM_RISCV_BARRIER_H
-#define _ASM_RISCV_BARRIER_H
+#ifndef _ASM_RISCV_INSN_DEF_H
+#define _ASM_RISCV_INSN_DEF_H
#define INSN_I_SIMM12_SHIFT 20
#define INSN_I_RS1_SHIFT 15
@@ -36,4 +36,4 @@
__INSN_I(RV_##opcode, RV_##func3, RV_##rd, \
RV_##rs1, RV_##simm12)
-#endif /* _ASM_RISCV_BARRIER_H */
+#endif /* _ASM_RISCV_INSN_DEF_H */
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] riscv: insn-def.h: Fix header guard
2025-04-28 4:48 [PATCH] riscv: insn-def.h: Fix header guard Mayuresh Chitale
@ 2025-05-08 7:29 ` Leo Liang
0 siblings, 0 replies; 2+ messages in thread
From: Leo Liang @ 2025-05-08 7:29 UTC (permalink / raw)
To: Mayuresh Chitale; +Cc: u-boot, Rick Chen, Tom Rini
On Mon, Apr 28, 2025 at 04:48:45AM +0000, Mayuresh Chitale wrote:
> Fix the erroneous header guard for insn-def.h to reflect the correct
> header name.
>
> Fixes: bfc8ca3f7f6 ("riscv: Add support for defining instructions")
> Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
> ---
> arch/riscv/include/asm/insn-def.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-08 7:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-28 4:48 [PATCH] riscv: insn-def.h: Fix header guard Mayuresh Chitale
2025-05-08 7:29 ` Leo Liang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.