diff options
| author | Rui Qi <qirui.001@bytedance.com> | 2026-06-30 14:14:45 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-06 20:08:16 +0200 |
| commit | 7bfd21e828504e3b7dd923bea5474ffdf204f264 (patch) | |
| tree | 97debc406a8a5ff3d0a79fa891bd32258950ecf0 /tools/perf/scripts/python | |
| parent | 0c00cfbcfcffa7085e4f0c7fd7a4caada4e7a90f (diff) | |
ACPI: APEI: GHES: Mark ghes_in_nmi_spool_from_list() as maybe unused
When CONFIG_ACPI_APEI_SEA and CONFIG_HAVE_ACPI_APEI_NMI are both
disabled, ghes_in_nmi_spool_from_list() becomes an unused static
function and triggers -Werror=unused-function in some configs, for
example riscv defconfig with APEI disabled.
Mark it as __maybe_unused to silence the warning while keeping the
code available for configurations that use SEA or APEI NMI.
Reviewed-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Reviewed-by: Shuai Xue <xueshuai@linux.alibaba.com>
Signed-off-by: Rui Qi <qirui.001@bytedance.com>
Link: https://patch.msgid.link/20260630061445.2191731-1-qirui.001@bytedance.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
