[PATCH] Char: isicom, fix close bug
authorJiri Slaby <jirislaby@gmail.com>
Tue, 14 Nov 2006 23:30:17 +0000 (00:30 +0100)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 15 Nov 2006 00:02:02 +0000 (16:02 -0800)
port is dereferenced even if it is NULL.  Dereference it _after_ the
check if (!port)...  Thanks Eric <ef87@yahoo.com> for reporting this.

This fixes

http://bugzilla.kernel.org/show_bug.cgi?id=7527

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found