lkml.org 
[lkml]   [2012]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] uio: open(), mmap(), close()
Date
After open(), mmap(), close() POSIX 1003.1 mmap() declares the mmaped pointer
valid. Add a warning to the documentation to inform UIO users keep this
behaviour into account.
While the inode parameter of in tree UIO kernel drivers is unused by
open/release hooks, remove teh inode parateter. This would help to process
the release hook in an unmap context.

Benedikt Spranger (2):
uio: add warning to documentation
uio: do not expose inode to uio open/release hooks

Documentation/DocBook/uio-howto.tmpl | 11 ++++++++---
drivers/uio/uio.c | 4 ++--
include/linux/uio_driver.h | 4 ++--
3 files changed, 12 insertions(+), 7 deletions(-)

--
1.7.10.4



\
 
 \ /
  Last update: 2012-12-12 00:41    [W:1.561 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site