[PATCH] Char: sx, request regions
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:39:08 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:59 +0000 (08:28 -0800)
commit30f4218ffc5500e6a622a680f01133f9af65f07d
tree8d4fdd9dce16b7513a7a0ceb78b76921a9289f97
parent39103494fd0c5325763edd06c88b121a5c21516e
[PATCH] Char: sx, request regions

Check regions if they are free before we touch them.  Release them in
failpaths.

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