summaryrefslogtreecommitdiffstats
path: root/crypto/842.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-10-05 17:22:58 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-10-05 17:34:56 -0700
commitc36906c53ccff0f43310fac9606976440a71c742 (patch)
tree7c494078f5660f9b966498476adfafce6b5845f2 /crypto/842.c
parentdd23bf1044e89f46e2d1af9725c0b24864309082 (diff)
downloadop-kernel-dev-c36906c53ccff0f43310fac9606976440a71c742.zip
op-kernel-dev-c36906c53ccff0f43310fac9606976440a71c742.tar.gz
Input: gamecon - store object at correct index
The variable i is used to check the port to attach to and we are supposed to save the reference of struct gc in the location given by gc_base[i]. But after finding out the index, i is getting modified again so we saved in a wrong index. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: a517e87c3dfc ("Input: gamecon - use parallel port device model") Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'crypto/842.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud