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

docs: efi: add CPER functions to driver-api

There are two kernel-doc like descriptions at cper, which is used
by other parts of cper and on ghes driver. They both have kernel-doc
like descriptions.

Change the tags for them to be actual kernel-doc tags and add them
to the driver-api documentaion at the UEFI section.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>

authored by

Mauro Carvalho Chehab and committed by
Ard Biesheuvel
7a2ff00c 96b01053

+9 -4
+8 -3
Documentation/driver-api/firmware/efi/index.rst
··· 1 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 - ============ 4 - UEFI Support 5 - ============ 3 + ==================================================== 4 + Unified Extensible Firmware Interface (UEFI) Support 5 + ==================================================== 6 6 7 7 UEFI stub library functions 8 8 =========================== 9 9 10 10 .. kernel-doc:: drivers/firmware/efi/libstub/mem.c 11 11 :internal: 12 + 13 + UEFI Common Platform Error Record (CPER) functions 14 + ================================================== 15 + 16 + .. kernel-doc:: drivers/firmware/efi/cper.c
+1 -1
drivers/firmware/efi/cper.c
··· 70 70 } 71 71 EXPORT_SYMBOL_GPL(cper_severity_str); 72 72 73 - /* 73 + /** 74 74 * cper_print_bits - print strings for set bits 75 75 * @pfx: prefix for each line, including log level and prefix string 76 76 * @bits: bit mask