summaryrefslogtreecommitdiffstats
path: root/drivers/input/gameport
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-11 09:22:45 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-08-11 09:23:06 -0700
commit22f83205e59c97c2460ad8e4bd6e71268cb2f37f (patch)
tree79321bf89d9b4011949ea1b0a88921c3a942d4c0 /drivers/input/gameport
parentd9b830fa444c1f4955d0ee88f5af2aa24d2c7837 (diff)
downloadblackbird-op-linux-22f83205e59c97c2460ad8e4bd6e71268cb2f37f.tar.gz
blackbird-op-linux-22f83205e59c97c2460ad8e4bd6e71268cb2f37f.zip
Input: tegra-kbc - correct call to input_free_device
If kzalloc for kbc fails, then we have NULL pointer dereference while calling input_free_device(kbc->idev) in the error handling. So it is safer to always use the original name, input_dev. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/gameport')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud