Merge branch 'net-qede-don-t-restrict-error-codes'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 7 May 2024 09:08:16 +0000 (11:08 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 7 May 2024 09:08:16 +0000 (11:08 +0200)
commit25010156d2787c9308b2d1dbbf3bf019ee3270ce
treef54976f4325bd5653c08f732633be67f01251431
parent179a6f5df8dab7d027aa73a302d8506c6533e463
parentc0c66eba6322a300a27cffb2295af70ad7f63d40
Merge branch 'net-qede-don-t-restrict-error-codes'

 says:

====================
net: qede: don't restrict error codes

This series fixes the qede driver, so that when a helper function fails,
then the callee should return the returned error code, instead just
assuming that the error is eg. -EINVAL.

The patches in this series, reduces the change of future bugs, so new
error codes can be returned from the helpers, without having to update
the call sites.

This is a follow-up to my recent series "net: qede: avoid overruling
error codes", which fixed the cases where the implicit assumption of
failing with specific error codes had been broken.
https://lore.kernel.org/netdev/20240426091227.78060-1-ast@fiberby.net/

Asbjørn Sloth Tønnesen (3):
  net: qede: use return from qede_parse_actions() for flow_spec
  net: qede: use return from qede_flow_spec_validate_unused()
  net: qede: use return from qede_flow_parse_ports()

 .../net/ethernet/qlogic/qede/qede_filter.c    | 27 ++++++++++++-------
 1 file changed, 18 insertions(+), 9 deletions(-)
====================

Link: https://lore.kernel.org/r/20240503105505.839342-1-ast@fiberby.net
Signed-off-by: Paolo Abeni <pabeni@redhat.com>