lkml.org 
[lkml]   [2020]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 5.5 284/367] compat: scsi: sg: fix v3 compat read/write interface
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.

Thanks and greetings!

Daniel Díaz
daniel.diaz@linaro.org

\
 
 \ /
  Last update: 2020-02-10 18:47    [W:0.180 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site