Re: [PATCH v5 30/32] ACPI/APEI: Add missing include

From: Rafael J. Wysocki
Date: Mon Aug 08 2022 - 10:09:37 EST


On Mon, Aug 8, 2022 at 4:41 AM Matthew Wilcox (Oracle)
<willy@xxxxxxxxxxxxx> wrote:
>
> From: Kent Overstreet <kent.overstreet@xxxxxxxxx>
>
> The upcoming patch to switch tracing from seq_buf to printbuf means
> we're no longer pulling in headers that we used to; this adds a missing
> include so things don't break.
>
> Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
> Cc: linux-acpi@xxxxxxxxxxxxxxx

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

> ---
> drivers/acpi/apei/erst-dbg.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/acpi/apei/erst-dbg.c b/drivers/acpi/apei/erst-dbg.c
> index 8bc71cdc2270..370993c9c381 100644
> --- a/drivers/acpi/apei/erst-dbg.c
> +++ b/drivers/acpi/apei/erst-dbg.c
> @@ -11,6 +11,7 @@
> * Author: Huang Ying <ying.huang@xxxxxxxxx>
> */
>
> +#include <linux/fs.h>
> #include <linux/kernel.h>
> #include <linux/module.h>
> #include <linux/uaccess.h>
> --
> 2.35.1
>