]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitefbbc1d56774a18d9518b8500212629fb5809d1b
tree8f9e8f7007d5f968f6bccffb7866e1e0894f8854
parentb0a1ba59921eaaa9cb8f97bb35f2e6870fcdfedc
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