linux-stable/drivers/net/ethernet/qlogic
Asbjørn Sloth Tønnesen e25714466a net: qede: sanitize 'rc' in qede_add_tc_flower_fltr()
Explicitly set 'rc' (return code), before jumping to the
unlock and return path.

By not having any code depend on that 'rc' remains at
it's initial value of -EINVAL, then we can re-use 'rc' for
the return code of function calls in subsequent patches.

Only compile tested.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-04-29 10:02:43 +01:00
..
netxen netxen_nic: remove redundant assignment to variable capability 2024-02-08 19:06:27 -08:00
qed qed: remove duplicated assignment to variable opaque_fid 2024-02-08 19:05:01 -08:00
qede net: qede: sanitize 'rc' in qede_add_tc_flower_fltr() 2024-04-29 10:02:43 +01:00
qlcnic net: adopt skb_network_offset() and similar helpers 2024-03-04 08:47:06 +00:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
qla3xxx.c net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues 2024-01-03 16:50:08 -08:00
qla3xxx.h net/qla3xxx: Convert to SPDX license identifiers 2020-09-16 14:32:31 +02:00