[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAhV-H6Q0sirFEDdc1v4BSfDY94eZvJazy0XLKM8V94GMJvQnQ@mail.gmail.com>
Date: Thu, 14 Sep 2023 23:25:22 +0800
From: Huacai Chen <chenhuacai@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: loongarch@...ts.linux.dev, linux-kernel@...r.kernel.org,
WANG Xuerui <kernel@...0n.name>
Subject: Re: [PATCH v1 1/2] LoongArch: Add missing headers
Hi, Andy,
Thank you for your patch, can this patch solve the problem below?
https://lore.kernel.org/oe-kbuild-all/202309072237.9zxMv4MZ-lkp@intel.com/T/#u
If yes, please add a reference in the commit message. I have
investigated this problem for a long time but failed to solve it.
Huacai
On Thu, Sep 14, 2023 at 6:34 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> wrote:
>
> The header uses definitions from sizes.h, include it.
> For __iomem we need the compiler_types.h, include it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> ---
> arch/loongarch/include/asm/addrspace.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/loongarch/include/asm/addrspace.h b/arch/loongarch/include/asm/addrspace.h
> index 5c9c03bdf915..eaf8ac098622 100644
> --- a/arch/loongarch/include/asm/addrspace.h
> +++ b/arch/loongarch/include/asm/addrspace.h
> @@ -10,7 +10,9 @@
> #ifndef _ASM_ADDRSPACE_H
> #define _ASM_ADDRSPACE_H
>
> +#include <linux/compiler_types.h>
> #include <linux/const.h>
> +#include <linux/sizes.h>
>
> #include <asm/loongarch.h>
>
> --
> 2.40.0.1.gaa8946217a0b
>
>
Powered by blists - more mailing lists