]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit855fc73bf81e8f99606d6f5914c5b7c3b079d718
tree802cd222d609efdce191ed85369d091b86ac7771
parentee111d111b69c2a216d674081107fe3b3829aa9a
[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