summaryrefslogtreecommitdiff
path: root/ibm_emac.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-10-10 22:19:15 +0100
committerBen Hutchings <bhutchings@solarflare.com>2012-10-10 22:22:25 +0100
commit963faa0063e89bfd0d807b3c25fcb0723541a045 (patch)
treee2886f15dab98c163b0f259f813fa62633b3096d /ibm_emac.c
parent5131914e1a10cfd90b6ba45fbd0eec372884398f (diff)
downloadethtool-963faa0063e89bfd0d807b3c25fcb0723541a045.tar.gz
Gracefully handle failure of register dump pretty-printer
If we have a pretty-printer matching the driver name for a register dump, but it doesn't handle the reported dump version, then we currently fail and print: Cannot dump registers: Success Instead, fall back to hex dump. Also, don't use perror() to explain a failure of dump_regs(). errno is not meaningful in either failure case. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'ibm_emac.c')
0 files changed, 0 insertions, 0 deletions