diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-07-05 11:52:33 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-09 13:11:49 +0200 |
| commit | 1b0ee85ee7967a4d7a68080c3f6a66af69e4e0b4 (patch) | |
| tree | 7a7c091878548ed150ba5a2a6857aed125269e1a /tools/perf/scripts/python | |
| parent | staging: gpib: lpvo_usb_gpib: Remove unreachable return statement (diff) | |
| download | linux-1b0ee85ee7967a4d7a68080c3f6a66af69e4e0b4.tar.gz linux-1b0ee85ee7967a4d7a68080c3f6a66af69e4e0b4.zip | |
staging: gpib: Fix error handling paths in cb_gpib_probe()
If cb_gpib_config() fails, 'info' needs to be freed, as already done in the
remove function.
While at it, remove a pointless comment related to gpib_attach().
Fixes: e9dc69956d4d ("staging: gpib: Add Computer Boards GPIB driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/bf89d6f2f8b8c680720d02061fc4ebdd805deca8.1751709098.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
