diff options
author | 2020-08-21 12:19:40 -0400 | |
---|---|---|
committer | 2020-09-04 18:08:16 +0200 | |
commit | db332356222d9429731ab9395c89cca403828460 (patch) | |
tree | f7ea2a8db3eef6f480aa55d3ff297cbaa4e18e74 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: synclink_gt: switch from 'pci_' to 'dma_' API (diff) | |
download | wireguard-linux-db332356222d9429731ab9395c89cca403828460.tar.xz wireguard-linux-db332356222d9429731ab9395c89cca403828460.zip |
tty: ipwireless: fix error handling
ipwireless_send_packet() can only return 0 on success and -ENOMEM on
error, the caller should check non zero for error condition
Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Acked-by: David Sterba <dsterba@suse.com>
Link: https://lore.kernel.org/r/20200821161942.36589-1-ztong0001@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions