]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: sx8654 - fix memory allocation check
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 4 May 2015 19:45:38 +0000 (12:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 May 2015 17:29:33 +0000 (10:29 -0700)
commit22ffc3e42aa6a656192a45c7364fbb2de3214d93
treeba13e6c566a7f168599a8c25a07bb7748a6f6017
parent48853389f206b689260ddfd3006816779ca7a52a
Input: sx8654 - fix memory allocation check

We have been testing wrong variable when trying to make sure that input
allocation succeeded.

Reported by Coverity (CID 1295918).

Acked-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/sx8654.c