summaryrefslogtreecommitdiff
path: root/drivers/input/joydev.c
diff options
context:
space:
mode:
authorYizhuo Zhai <yzhai003@ucr.edu>2021-06-20 08:26:50 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-06-20 08:36:28 +0300
commitcac7100d4c51c04979dacdfe6c9a5e400d3f0a27 (patch)
tree24b0d640306670ed4f07601460797ca67a6c3797 /drivers/input/joydev.c
parenteacacdb5fc961a7e3aec36502e4cbda8b6d5b3a8 (diff)
downloadlinux-cac7100d4c51c04979dacdfe6c9a5e400d3f0a27.tar.xz
Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
Inside function hideep_nvm_unlock(), variable "unmask_code" could be uninitialized if hideep_pgm_r_reg() returns error, however, it is used in the later if statement after an "and" operation, which is potentially unsafe. Signed-off-by: Yizhuo <yzhai003@ucr.edu> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/joydev.c')
0 files changed, 0 insertions, 0 deletions