summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-07-30 16:39:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-16 15:13:56 +0200
commitc8d3347e3039cee0e0394fb9c83fcf1efc92b4af (patch)
tree4e48d3bb82d43cb7e1c0d28b2a11b59fc0332937 /tools/perf/scripts/python
parentb9eb3126181ad625334e65af05b9af552253e716 (diff)
staging: r8188eu: return an error code in rtw_usb_if1_init
rtw_usb_if1_init returns a pointer that isn't used by the caller. Return an error code instead. We can then propagate errors from lower-level functions like ReadAdapterInfo8188EU and fail the initialisation of the driver with a proper error code. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220730143939.671951-4-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions