1
0
Fork 0
alistair23-linux/drivers/tty/ipwireless
Tong Zhang 4886c2cf3d tty: ipwireless: fix error handling
[ Upstream commit db33235622 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:58:08 +01:00
..
Makefile tty: add SPDX identifiers to Kconfig and Makefiles 2019-04-04 18:48:43 +02:00
hardware.c tty: ipwireless: Fix potential NULL pointer dereference 2019-01-30 12:03:58 +01:00
hardware.h
main.c tty: ipwireless: fix missing checks for ioremap 2019-03-28 01:28:23 +09:00
main.h
network.c tty: ipwireless: fix error handling 2020-10-29 09:58:08 +01:00
network.h
setup_protocol.h
tty.c tty: ipwireless: fix error handling 2020-10-29 09:58:08 +01:00
tty.h