Re: [PATCH 5.5 284/367] compat: scsi: sg: fix v3 compat read/write interface
From: Daniel DÃaz
Date: Mon Feb 10 2020 - 12:46:15 EST
Helo!
On Mon, 10 Feb 2020 at 09:58, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> 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")?
Yes, cherry-picking 556d687a4ccd ("compat: ARM64: always include
asm-generic/compat.h") gets it back on track.
Thanks and greetings!
Daniel DÃaz
daniel.diaz@xxxxxxxxxx