Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

riscv-docs: correct the sequence of the magic number 2 since it's little endian

Correct the sequence of the magic number 2 since it's little endian.

Signed-off-by: Chester Lin <clin@suse.com>
Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Chester Lin and committed by
Jonathan Corbet
185271a1 9692f2fd

+1 -1
+1 -1
Documentation/riscv/boot-image-header.rst
··· 21 21 u32 res1 = 0; /* Reserved */ 22 22 u64 res2 = 0; /* Reserved */ 23 23 u64 magic = 0x5643534952; /* Magic number, little endian, "RISCV" */ 24 - u32 magic2 = 0x56534905; /* Magic number 2, little endian, "RSC\x05" */ 24 + u32 magic2 = 0x05435352; /* Magic number 2, little endian, "RSC\x05" */ 25 25 u32 res4; /* Reserved for PE COFF offset */ 26 26 27 27 This header format is compliant with PE/COFF header and largely inspired from