]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Char: mxser_new, correct fail paths
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:25 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:54 +0000 (08:28 -0800)
commitabcb6a642617935b8970ae83a7f1d9ba22d73110
tree4737a327f2f95743690544604a66f7884f76aa10
parentb1ade91029e70da7c45e2eea0da1b53c649c9aa9
[PATCH] Char: mxser_new, correct fail paths

Resources were not released in some fail paths.  Correct this behaviour by
implementing function and calling it when something fails.

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mxser_new.c