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

Documentation: Fix incorrect paths/magic in magic numbers rst

Fix some no longer true header/c file paths and correct the BAYCOM_MAGIC
value to be decimal as in the source instead of incorrectly hexadecimal

Signed-off-by: Nir Lichtman <nir@lichtman.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20241025135128.GA879576@lichtman.org

authored by

Nir Lichtman and committed by
Jonathan Corbet
cdcfc029 a10b5325

+3 -3
+3 -3
Documentation/staging/magic-number.rst
··· 68 68 ===================== ================ ======================== ========================================== 69 69 Magic Name Number Structure File 70 70 ===================== ================ ======================== ========================================== 71 - PG_MAGIC 'P' pg_{read,write}_hdr ``include/linux/pg.h`` 71 + PG_MAGIC 'P' pg_{read,write}_hdr ``include/uapi/linux/pg.h`` 72 72 APM_BIOS_MAGIC 0x4101 apm_user ``arch/x86/kernel/apm_32.c`` 73 73 FASYNC_MAGIC 0x4601 fasync_struct ``include/linux/fs.h`` 74 - SLIP_MAGIC 0x5302 slip ``drivers/net/slip.h`` 75 - BAYCOM_MAGIC 0x19730510 baycom_state ``drivers/net/baycom_epp.c`` 74 + SLIP_MAGIC 0x5302 slip ``drivers/net/slip/slip.h`` 75 + BAYCOM_MAGIC 19730510 baycom_state ``drivers/net/hamradio/baycom_epp.c`` 76 76 HDLCDRV_MAGIC 0x5ac6e778 hdlcdrv_state ``include/linux/hdlcdrv.h`` 77 77 KV_MAGIC 0x5f4b565f kernel_vars_s ``arch/mips/include/asm/sn/klkernvars.h`` 78 78 CODA_MAGIC 0xC0DAC0DA coda_file_info ``fs/coda/coda_fs_i.h``