Skip to content

s390/qeth: Improve handling of OSA RCs

Aswin Karuvally linux-s390 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 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2s390/qeth: Move all OSA RCs to single enumdrivers/s390/net/qeth_core_mpc.h+5 -100 repliesApplied
2/2s390/qeth: Handle ambiguous OSA RCs in s390dbfdrivers/s390/net/qeth_core_main.c drivers/s390/net/qeth_core_mpc.c drivers/s390/net/qeth_core_mpc.h+205 -490 repliesApplied

Reviews trailers per patch

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

PatchAlexandra Winter
1/2R-b
2/2R-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/2] s390/qeth: Improve handling of OSA RCs

This two patch series aims to improve how return codes from OSA Express are handled in the qeth driver.

OSA defines a number of return codes whose meaning is determined by the issuing command, ie. they are ambiguous. The first patch moves definitions of all return codes including the ambiguous ones to a single enum block to aid readability and maintainability.

The second patch implements a mechanism to interpret return codes based on the issuing command to ensure accurate debug messages. While at it, remove extern keyword and fix indentation for function declarations to be in line with Linux kernel coding style.

Aswin Karuvally (2):
s390/qeth: Move all OSA RCs to single enum
s390/qeth: Handle ambiguous OSA RCs in s390dbf

 drivers/s390/net/qeth_core_main.c |   2 +-
 drivers/s390/net/qeth_core_mpc.c  | 247 ++++++++++++++++++++++++------
 drivers/s390/net/qeth_core_mpc.h  |  20 +--
 3 files changed, 210 insertions(+), 59 deletions(-)
Signature · 1 line
2.48.1