[PATCH 0/2] uio: open(), mmap(), close()

From: Benedikt Spranger
Date: Tue Dec 11 2012 - 18:12:33 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/