This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-dvb.git tree:
Subject: input: unlock on error paths Author: Dan Carpenter <[email protected]> Date: Wed May 5 02:56:24 2010 -0300 We can't return here directly, we need to unlock the event_lock first. This was introduced in: edeada2cde "V4L/DVB: input: Add support for EVIO[CS]GKEYCODEBIG" Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> drivers/input/input.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=c5c72cadda845d47fb3fe7fb03ee4210e6e8ab7c diff --git a/drivers/input/input.c b/drivers/input/input.c index d2bb5b5..21d8daa 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -742,8 +742,9 @@ int input_set_keycode_big(struct input_dev *dev, if (!dev->setkeycode) goto out; - if (input_fetch_scancode(kt_entry, &scancode)) - return -EINVAL; + retval = input_fetch_scancode(kt_entry, &scancode); + if (retval) + goto out; retval = dev->getkeycode(dev, scancode, &old_keycode); _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
