linux_dsm_epyc7002/drivers/s390/net
Julian Wiedmann 0b698c838e 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: 742d4d4083 ("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>
2019-12-24 22:41:06 -08:00
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c
ctcm_fsms.h
ctcm_main.c
ctcm_main.h
ctcm_mpc.c
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
ism_drv.c
ism.h
Kconfig
lcs.c
lcs.h
Makefile
netiucv.c
qeth_core_main.c s390/qeth: fix initialization on old HW 2019-12-24 22:41:06 -08:00
qeth_core_mpc.c
qeth_core_mpc.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-22 09:54:33 -08:00
qeth_core_sys.c s390/qeth: don't return -ENOTSUPP to userspace 2019-12-20 21:00:27 -08:00
qeth_core.h s390/qeth: fix dangling IO buffers after halt/clear 2019-12-05 12:25:05 -08:00
qeth_ethtool.c s390/qeth: guard against runt packets 2019-12-05 12:25:05 -08:00
qeth_l2_main.c s390/qeth: vnicc Fix init to default 2019-12-24 22:41:06 -08:00
qeth_l2_sys.c s390/qeth: fix promiscuous mode after reset 2019-12-20 21:00:27 -08:00
qeth_l2.h
qeth_l3_main.c s390/qeth: fix qdio teardown after early init error 2019-12-24 22:41:06 -08:00
qeth_l3_sys.c s390/qeth: lock the card while changing its hsuid 2019-12-24 22:41:06 -08:00
qeth_l3.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2019-11-25 20:02:57 -08:00
smsgiucv_app.c
smsgiucv.c
smsgiucv.h