Revision 0bacbe528e26422e424d110ebda4ec68ea0fd5eb authored by Al Viro on 02 February 2016, 02:28:05 UTC, committed by Al Viro on 20 February 2016, 05:15:51 UTC
It forgets kunmap() on a failure exit, but there's really no point keeping the page kmapped at all - after all, what we are doing is a bunch of memcpy() into the parts of page, so kmap_atomic()/kunmap_atomic() just around those memcpy() is enough. Spotted-by: Insu Yun <wuninsu@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 0e9a7da
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1008 bytes |
Makefile | -rw-r--r-- | 171 bytes |
debug-levels.h | -rw-r--r-- | 1.4 KB |
debugfs.c | -rw-r--r-- | 2.2 KB |
id-table.c | -rw-r--r-- | 4.4 KB |
op-msg.c | -rw-r--r-- | 11.7 KB |
op-reset.c | -rw-r--r-- | 3.5 KB |
op-rfkill.c | -rw-r--r-- | 13.0 KB |
op-state-get.c | -rw-r--r-- | 2.1 KB |
stack.c | -rw-r--r-- | 17.7 KB |
wimax-internal.h | -rw-r--r-- | 3.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...