Skip to contentSkip to conversation

riscv: kexec_image: Fix dead link to boot-image-header.rst

PATCH In review Soham Metha 2 participants 2 messages Dec 3, 2025 – Jan 6 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: kexec_image: Fix dead link to boot-image-header.rst

Fix the reference to 'boot-image-header.rst', which was moved to 'Documentation/arch/riscv/' in commit 'ed843ae947f8' ("docs: move riscv under arch").

---
No functional changes.

 arch/riscv/kernel/kexec_image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/kexec_image.c +1 -1
index 8f2eb900910b..51dc89259f16 100644
@@ -22,7 +22,7 @@ static int image_probe(const char *kernel_buf, unsigned long kernel_len)
 	if (!h || kernel_len < sizeof(*h))
 		return -EINVAL;
 
-	/* According to Documentation/riscv/boot-image-header.rst,
+	/* According to Documentation/arch/riscv/boot-image-header.rst,
 	 * use "magic2" field to check when version >= 0.2.
 	 */
 
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 5 lines · Soham Metha

Fix the reference to 'boot-image-header.rst', which was moved to 'Documentation/arch/riscv/' in commit 'ed843ae947f8' ("docs: move riscv under arch").

Thanks, queued for v6.19-rc.

- Paul