]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Char: isicom, correct probing/removing
authorJiri Slaby <jirislaby@gmail.com>
Sat, 10 Feb 2007 09:44:55 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:26 +0000 (10:51 -0800)
commitca60eeee259c9cbea1bccc468f7bd5ac05ca535c
treea645379fd701d7188d764bc2cbdeed8e137bc0a4
parent84a1c709ee582cdbff9455614e5c2e14b63572a6
[PATCH] Char: isicom, correct probing/removing

Don't forget to decrease card_count in fail paths and in remove function.
Also null board->base in such cases to point out, that this structure is
unused and thus can be reassigned.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/isicom.c