lkml.org 
[lkml]   [2019]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] The patch solves the type error of the parameter “off ” in syscall mmap on the ARM64 platform.
On Wed, Apr 24, 2019 at 09:31:28AM +0100, David Howells wrote:
> Will Deacon <will.deacon@arm.com> wrote:
>
> > - unsigned long, fd, off_t, off)
> > + unsigned long, fd, off_t, pgoff)
> > {
> > + unsigned long off = pgoff;
> > +
>
> Would loff_t be better?

I don't think so, isn't that still signed? I also think it's the same
size as off_t on arm64 (long long vs long).

Will

\
 
 \ /
  Last update: 2019-04-24 15:50    [W:0.102 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site