]> git.baikalelectronics.ru Git - kernel.git/commit
Input: uinput - reversed test in uinput_setup_device()
authorDan Carpenter <error27@gmail.com>
Fri, 18 Feb 2011 16:30:52 +0000 (08:30 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 21 Feb 2011 09:02:34 +0000 (01:02 -0800)
commitc71602402b38936131f91c37eda4cc0d5e4ba84f
tree9779106dc86b5da5e8493b77987455c46b626e6f
parent5efac634eb886badbc3d17eda8649abddd89e8dc
Input: uinput - reversed test in uinput_setup_device()

The test here is reversed. It should be if (IS_ERR()) instead of
if (!IS_ERR()).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/uinput.c