mbox series

[net-next,0/2] ibmvnic: Update firmware error reporting

Message ID 1533609599-10188-1-git-send-email-tlfalcon@linux.vnet.ibm.com
Headers show
Series ibmvnic: Update firmware error reporting | expand

Message

Thomas Falcon Aug. 7, 2018, 2:39 a.m. UTC
This patch set cleans out a lot of dead code from the ibmvnic driver
and adds some more. The error ID field of the descriptor is not filled
in by firmware, so do not print it and do not use it to query for
more detailed information. Remove the unused code written for this.
Finally, update the message to print a string explainng the error
cause instead of just the error code.

Thomas Falcon (2):
  ibmvnic: Remove code to request error information
  ibmvnic: Update firmware error reporting with cause string

 drivers/net/ethernet/ibm/ibmvnic.c | 168 ++++++-------------------------------
 drivers/net/ethernet/ibm/ibmvnic.h |  33 --------
 2 files changed, 26 insertions(+), 175 deletions(-)

Comments

David Miller Aug. 7, 2018, 7:46 p.m. UTC | #1
From: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Date: Mon,  6 Aug 2018 21:39:57 -0500

> This patch set cleans out a lot of dead code from the ibmvnic driver
> and adds some more. The error ID field of the descriptor is not filled
> in by firmware, so do not print it and do not use it to query for
> more detailed information. Remove the unused code written for this.
> Finally, update the message to print a string explainng the error
> cause instead of just the error code.

Series applied, thanks Thomas.