summaryrefslogtreecommitdiff
path: root/drivers/input/gameport/ns558.c
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2016-04-19 00:46:30 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-04-19 19:24:19 +0300
commit52dee2c9f0850704327d976ea5c5fa7f4696dab5 (patch)
tree84114ac3bb8fe9b36f4ff8c40ec812c6f09b1d32 /drivers/input/gameport/ns558.c
parenteda5ecc0a6b865561997e177c393f0b0136fe3b7 (diff)
downloadlinux-52dee2c9f0850704327d976ea5c5fa7f4696dab5.tar.xz
Input: twl6040-vibra - fix NULL pointer dereference by removing workqueue
commit 21fb9f0d5e91 ("Input: twl6040-vibra - use system workqueue") says that it switches to use the system workqueue but it did neither - remove the workqueue struct variable - replace code to really use the system workqueue Instead it calls queue_work() on uninitialized info->workqueue. The result is a NULL pointer dereference in vibra_play(). Solution: use schedule_work Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/gameport/ns558.c')
0 files changed, 0 insertions, 0 deletions