s390/qeth: handle sysfs error during initialization
When setting up the device from within the layer discipline's probe routine, creating the layer-specific sysfs attributes can fail. Report this error back to the caller, and handle it by releasing the layer discipline. Signed-off-by:Ursula Braun <ubraun@linux.vnet.ibm.com> [jwi: updated commit msg, moved an OSN change to a subsequent patch] Signed-off-by:
Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/s390/net/qeth_core_main.c 3 additions, 1 deletiondrivers/s390/net/qeth_core_main.c
- drivers/s390/net/qeth_core_sys.c 2 additions, 0 deletionsdrivers/s390/net/qeth_core_sys.c
- drivers/s390/net/qeth_l2_main.c 4 additions, 1 deletiondrivers/s390/net/qeth_l2_main.c
- drivers/s390/net/qeth_l3_main.c 4 additions, 1 deletiondrivers/s390/net/qeth_l3_main.c
Loading
Please register or sign in to comment