diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-12-23 17:03:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-25 09:41:06 +0300 |
commit | 0b698c838e84149b690c7e979f78cccb6f8aa4b9 (patch) | |
tree | 7baf89da5adc33370c47957670ecfa5ad3798070 /MAINTAINERS | |
parent | d1b9ae1864fc3c000e0eb4af8482d78c63e0915a (diff) | |
download | linux-0b698c838e84149b690c7e979f78cccb6f8aa4b9.tar.xz |
s390/qeth: fix initialization on old HW
I stumbled over an old OSA model that claims to support DIAG_ASSIST,
but then rejects the cmd to query its DIAG capabilities.
In the old code this was ok, as the returned raw error code was > 0.
Now that we translate the raw codes to errnos, the "rc < 0" causes us
to fail the initialization of the device.
The fix is trivial: don't bail out when the DIAG query fails. Such an
error is not critical, we can still use the device (with a slightly
reduced set of features).
Fixes: 742d4d40831d ("s390/qeth: convert remaining legacy cmd callbacks")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions