summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-12-04 04:35:25 +0100
committerJiri Kosina <jkosina@suse.cz>2020-02-12 15:06:19 +0100
commit8d2e77b39b8fecb794e19cd006a12f90b14dd077 (patch)
treef54896fdf32f1cfd1d48711f02e134f30df8f848 /scripts/gdb/linux/timerlist.py
parent5c02c447eaeda29d3da121a2e17b97ccaf579b51 (diff)
HID: alps: Fix an error handling path in 'alps_input_configured()'
They are issues: - if 'input_allocate_device()' fails and return NULL, there is no need to free anything and 'input_free_device()' call is a no-op. It can be axed. - 'ret' is known to be 0 at this point, so we must set it to a meaningful value before returning Fixes: 2562756dde55 ("HID: add Alps I2C HID Touchpad-Stick support") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions