kernel_samsung_a53x/drivers/net/ethernet/qlogic/qede
Asbjørn Sloth Tønnesen 272ec48213 net: qede: use return from qede_parse_actions()
[ Upstream commit f26f719a36e56381a1f4230e5364e7ad4d485888 ]

When calling qede_parse_actions() then the
return code was only used for a non-zero check,
and then -EINVAL was returned.

qede_parse_actions() can currently fail with:
* -EINVAL
* -EOPNOTSUPP

This patch changes the code to use the actual
return code, not just return -EINVAL.

The blaimed commit broke the implicit assumption
that only -EINVAL would ever be returned.

Only compile tested.

Fixes: 319a1d19471e ("flow_offload: check for basic action hw stats type")
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 11:32:42 +01:00
..
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qede.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qede_dcbnl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qede_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qede_filter.c net: qede: use return from qede_parse_actions() 2024-11-19 11:32:42 +01:00
qede_fp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qede_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qede_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qede_ptp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qede_rdma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00