On Mon, Feb 10, 2020 at 11:45:58AM -0600, Daniel Díaz wrote:
Helo!
On Mon, 10 Feb 2020 at 09:58, Arnd Bergmann arnd@arndb.de wrote:
On Mon, Feb 10, 2020 at 4:41 PM Naresh Kamboju naresh.kamboju@linaro.org wrote:
The arm64 architecture 64k page size enabled build failed on stable rc 5.5 CONFIG_ARM64_64K_PAGES=y CROSS_COMPILE=aarch64-linux-gnu- Toolchain gcc-9
In file included from ../block/scsi_ioctl.c:23: ../include/scsi/sg.h:75:2: error: unknown type name ‘compat_int_t’ compat_int_t interface_id; /* [i] 'S' for SCSI generic (required) */ ^~~~~~~~~~~~ ../include/scsi/sg.h:76:2: error: unknown type name ‘compat_int_t’ compat_int_t dxfer_direction; /* [i] data transfer direction */ ^~~~~~~~~~~~
... ../include/scsi/sg.h:97:2: error: unknown type name ‘compat_uint_t’ compat_uint_t info; /* [o] auxiliary information */
Hi Naresh,
Does it work if you backport 071aaa43513a ("compat: ARM64: always include asm-generic/compat.h")?
Yes, cherry-picking 556d687a4ccd ("compat: ARM64: always include asm-generic/compat.h") gets it back on track.
Great, I'll go add that now and push out a -rc2. Thanks for finding this so quickly.
greg k-h