(2014/03/18 8:26), Greg KH wrote:
On Wed, Mar 12, 2014 at 10:24:21AM +0900, Nobuhiro Iwamatsu wrote:
Register for the device are mapped in uio_mmap_physical().
In this case, it might not be the same as the size of VMA always.
Why wouldn't this be the case?
size contained in the "mem-> size"
(2014/03/18 8:26), Greg KH wrote:
On Wed, Mar 12, 2014 at 10:24:21AM +0900, Nobuhiro Iwamatsu wrote:
Register for the device are mapped in uio_mmap_physical().
In this case, it might not be the same as the size of VMA always.
Why wouldn't this be the case?
size contained in the mem- size is
On Wed, Mar 12, 2014 at 10:24:21AM +0900, Nobuhiro Iwamatsu wrote:
> Register for the device are mapped in uio_mmap_physical().
> In this case, it might not be the same as the size of VMA always.
Why wouldn't this be the case?
> This uses PAGE_ALIGN to memory size, fix the check of the memory
On Wed, Mar 12, 2014 at 10:24:21AM +0900, Nobuhiro Iwamatsu wrote:
Register for the device are mapped in uio_mmap_physical().
In this case, it might not be the same as the size of VMA always.
Why wouldn't this be the case?
This uses PAGE_ALIGN to memory size, fix the check of the memory size
Register for the device are mapped in uio_mmap_physical().
In this case, it might not be the same as the size of VMA always.
This uses PAGE_ALIGN to memory size, fix the check of the memory size
to be mapped.
Signed-off-by: Nobuhiro Iwamatsu
---
drivers/uio/uio.c | 2 +-
1 file changed, 1
Register for the device are mapped in uio_mmap_physical().
In this case, it might not be the same as the size of VMA always.
This uses PAGE_ALIGN to memory size, fix the check of the memory size
to be mapped.
Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com
---
drivers/uio/uio.c
6 matches
Mail list logo