diff options
author | Gabriel Fernandez <gabriel.fernandez@st.com> | 2019-02-17 06:10:16 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-02-17 06:44:02 +0100 |
commit | 2439d37e1bf8a34d437573c086572abe0f3f1b15 (patch) | |
tree | 41046ff365a6ead767c95ba30f68588443e4b89e /firmware | |
parent | Input: apanel - switch to using brightness_set_blocking() (diff) | |
download | linux-2439d37e1bf8a34d437573c086572abe0f3f1b15.tar.xz linux-2439d37e1bf8a34d437573c086572abe0f3f1b15.zip |
Input: st-keyscan - fix potential zalloc NULL dereference
This patch fixes the following static checker warning:
drivers/input/keyboard/st-keyscan.c:156 keyscan_probe()
error: potential zalloc NULL dereference: 'keypad_data->input_dev'
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions