diff options
| author | Jérôme Pouiller <[email protected]> | 2021-09-13 15:01:43 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-14 09:16:32 +0200 |
| commit | 2ac7521bf99ce118c66e359bde5d40fea2730f15 (patch) | |
| tree | 8000a09827c2a87e6b6adcd9ed004e4548ecb17d /tools/perf/scripts/python/netdev-times.py | |
| parent | 08127ad2a79b74576a139d6fcb8d40b4f0105461 (diff) | |
staging: wfx: simplify API coherency check
The 'channel' argument of hif_join() should never be NULL. hif_join()
does not have the responsibility to recover bug of caller.
In current code, if the argument channel is NULL, memory leaks. The new
code just emit a warning and does not give the illusion that it is
supported (and indeed a Oops will probably raise a few lines below).
Signed-off-by: Jérôme Pouiller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions