lkml.org 
[lkml]   [2017]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/16] mm/nommu: switch do_mmap_private to kernel_read
On Wed, Aug 30, 2017 at 04:59:59PM +0200, Christoph Hellwig wrote:
> - fpos = vma->vm_pgoff;
> - fpos <<= PAGE_SHIFT;

> + loff_t fpos = vma->vm_pgoff << PAGE_SHIFT;

Umm... Are you sure it's OK on 32bit hosts?

\
 
 \ /
  Last update: 2017-08-30 17:41    [W:0.646 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site