]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] wrong thing iounmapped (qla3xxx)
authorAl Viro <viro@ftp.linux.org.uk>
Mon, 25 Sep 2006 01:54:46 +0000 (02:54 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 25 Sep 2006 03:07:49 +0000 (20:07 -0700)
commited8ad4c51d96aec039dcad9030456f5836b51f5e
tree802cd222d609efdce191ed85369d091b86ac7771
parent6954170cb7cd3791511a2598b5f4306bfe1cb8a6
[PATCH] wrong thing iounmapped (qla3xxx)

ql3xxx_probe() does ioremap and stores result in ->mem_map_registers.
On failure exit it does iounmap() of the same thing.

OTOH, ql3xxx_remove() does iounmap() of ->mmap_virt_base which is
 (a) never assigned and
 (b) never used other than in that iounmap() call.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/qla3xxx.c