[PATCH] char: mxser_new, check request_region retvals
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:17 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:53 +0000 (08:28 -0800)
commit7a7a5c3303a66c9000f270d6dd03ddeda8c80768
tree18e1a4f4dbdb2dced1875f2d6411eb3ec3c257bc
parent596280156afa99cb02f2193e0e06e6e4f2434f30
[PATCH] char: mxser_new, check request_region retvals

mxser_new, check request_region retvals

Return values of (pci_)request_region should be checked and error should be
returned if something is in bad state.

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