Re: [PATCH 5.5 284/367] compat: scsi: sg: fix v3 compat read/write interface
From: Arnd Bergmann
Date: Mon Feb 10 2020 - 10:58:15 EST
On Mon, Feb 10, 2020 at 4:41 PM Naresh Kamboju
<naresh.kamboju@xxxxxxxxxx> 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")?
Arnd