]> git.baikalelectronics.ru Git - kernel.git/commit
qeth: clean up error handling
authorEugene Crosser <Eugene.Crosser@ru.ibm.com>
Wed, 21 Jan 2015 12:39:09 +0000 (13:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jan 2015 07:38:16 +0000 (23:38 -0800)
commitec85c22eced6692ac61f821e68dbe81a15a6d12d
tree8f9e8f7007d5f968f6bccffb7866e1e0894f8854
parent6d935a1f32287c43331b552319a38082b95b3188
qeth: clean up error handling

In the functions that are registering and unregistering MAC
addresses in the qeth-handled hardware, remove callback functions
that are unnesessary, as only the return code is analyzed.
Translate hardware response codes to semi-standard 'errno'-like
codes for readability.

Add kernel-doc description to the internal API function
qeth_send_control_data().

Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Reviewed-by: Thomas-Mich Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_l2_main.c