]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ibmvnic: Only retrieve error info if present
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Fri, 21 Apr 2017 19:38:52 +0000 (15:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 16:52:12 +0000 (12:52 -0400)
commit2f9de9bac625ae08e9ea132e8dc08cfbe9fb67d2
tree64880cd4753c66bb88022449a2313d4468890519
parent6052d5e2a1961b59dd942b52d3bf2b395d023644
ibmvnic: Only retrieve error info if present

When handling a fatal error in the driver, there can be additional
error information provided by the vios. This information is not
always present, so only retrieve the additional error information
when present.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c