Re: compat_alloc_user_space removal, was Re: [PATCH 3/3] scsi: megaraid_sas: simplify compat_ioctl handling
From: Christoph Hellwig
Date: Thu Sep 17 2020 - 15:55:29 EST
On Thu, Sep 17, 2020 at 04:55:49PM +0200, Arnd Bergmann wrote:
> Unfortunately, the commit b902bfb3f0e "arm64: stop using <asm/compat.h>
> directly" seems to introduce a circular header file inclusion between
> linux/compat.h and asm/stat.h, breaking arm64 compilation.
>
> Moving the compat_u64/compat_s64 definitions to include/asm-generic/compat.h
> works fine though.
I posted a version doing exactly that a few hours ago.