]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] broken error path in drivers/pnp/card.c
authorJaroslav Kysela <perex@suse.cz>
Thu, 18 Aug 2005 11:16:11 +0000 (13:16 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 18 Aug 2005 15:43:59 +0000 (08:43 -0700)
commit30d5b64b63fa69af31b2cba32e6d71d68526eec9
tree16b55bd8beb2b56b459db5ef100b881243597f7a
parent518e6540831c69422faecceee8f964bd439ac9d0
[PATCH] broken error path in drivers/pnp/card.c

The error path in pnp_request_card_device() is broken (one variable is
left initialized and the semaphore is not unlocked).

This fixes it (and has been tested).

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pnp/card.c