Re: [PATCH v6 2/2] acpi: apei: Do not panic() on PCIe errors reported through GHES

From: Alex G.
Date: Mon May 21 2018 - 12:47:06 EST




On 05/21/2018 09:27 AM, Tyler Baicar wrote:
> On 5/21/2018 9:49 AM, Alexandru Gagniuc wrote:
(snip)
> Hello Alex,
>
> There is a compile warning if CONFIG_HAVE_ACPI_APEI_NMI is not selected.
>
> Â CCÂÂÂÂÂ drivers/acpi/apei/ghes.o
> drivers/acpi/apei/ghes.c:483:12: warning: âghes_severityâ defined but
> not used [-Wunused-function]
> Âstatic int ghes_severity(struct ghes *ghes)
> ÂÂÂÂÂÂÂÂÂÂÂ ^~~~~~~~~~~~~

Thanks for finding that. It's an easy fix. Staged for v7.

> Thanks,
> Tyler
>