Messages in this thread | | | From | Benedikt Spranger <> | Subject | [PATCH 0/2] uio: open(), mmap(), close() | Date | Wed, 12 Dec 2012 00:12:00 +0100 |
| |
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
| |