]> git.baikalelectronics.ru Git - kernel.git/commit
vm: convert mtdchar mmap to vm_iomap_memory() helper
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Apr 2013 16:53:07 +0000 (09:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Apr 2013 16:53:07 +0000 (09:53 -0700)
commit222f397a903670b207ffab88b7c14fad3f383faf
treeb8f19b7aff84734b7e2e8f912de5227ea436a49a
parent4ee37eddd34d7c0bc349d5874f5192d9811c0f5e
vm: convert mtdchar mmap to vm_iomap_memory() helper

This is my example conversion of a few existing mmap users.  The mtdchar
case is actually disabled right now (and stays disabled), but I did it
because it showed up on my "git grep", and I was familiar with the code
due to fixing an overflow problem in the code in commit 217d43607351
("mtdchar: fix offset overflow detection").

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mtd/mtdchar.c