On Wed, Aug 25, 2021 at 11:58:52AM +0800, Mark-PK Tsai wrote:

> linux/list.h uses container_of, therefore it depends on linux/kernel.h.
> Sync from below linux commit:
> 
> commit 8b21d9ca17ff8 ("list: include linux/kernel.h")
> 
> Signed-off-by: Mark-PK Tsai <[email protected]>
> Cc: YJ Chiang <[email protected]>
> ---
>  include/linux/list.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/list.h b/include/linux/list.h
> index f62afa092c..5320c04bf3 100644
> --- a/include/linux/list.h
> +++ b/include/linux/list.h
> @@ -3,6 +3,7 @@
>  
>  #include <linux/stddef.h>
>  #include <linux/poison.h>
> +#include <linux/kernel.h>
>  
>  #ifndef ARCH_HAS_PREFETCH
>  #define ARCH_HAS_PREFETCH

This causes sandbox to fail to build.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to