Skip to content

net: qede: don't restrict error codes

Asbjørn Sloth Tønnesen lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: qede: use return from qede_parse_actions() for flow_specdrivers/net/ethernet/qlogic/qede/qede_filter.c+5 -21 replyApplied
2/3net: qede: use return from qede_flow_spec_validate_unused()drivers/net/ethernet/qlogic/qede/qede_filter.c+4 -31 replyApplied
3/3net: qede: use return from qede_flow_parse_ports()drivers/net/ethernet/qlogic/qede/qede_filter.c+9 -41 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon Horman
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] 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/[email protected]/

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(-)
Signature · 1 line
2.43.0