diff options
author | Yizhuo Zhai <yzhai003@ucr.edu> | 2021-06-19 22:26:50 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-06-19 22:36:28 -0700 |
commit | cac7100d4c51c04979dacdfe6c9a5e400d3f0a27 (patch) | |
tree | 24b0d640306670ed4f07601460797ca67a6c3797 /drivers/input/joydev.c | |
parent | eacacdb5fc961a7e3aec36502e4cbda8b6d5b3a8 (diff) |
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