summaryrefslogtreecommitdiffstats
path: root/net/ipv4/raw.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2013-05-31 18:36:12 +0100
committerBen Hutchings <bhutchings@solarflare.com>2013-12-12 22:06:56 +0000
commit1e0b8120b2aef503f480b0e0182d7a7304acfb3d (patch)
tree67abe4f3dde3b2669ba7c4f655c3c211aa914120 /net/ipv4/raw.c
parent8d13a377b8c2bc20a349b98443bb7e7c5970e991 (diff)
downloadlinux-1e0b8120b2aef503f480b0e0182d7a7304acfb3d.tar.bz2
sfc: Log all unexpected MCDI errors
Split each of efx_mcdi_rpc, efx_mcdi_rpc_finish, and efx_mcdi_rpc_async into a normal and a _quiet version; made the former log MCDI errors with netif_err (and include the raw MCDI error code), and the latter never log them at all. Changed various callers; any where some errors are expected (but others are not) call the _quiet version and then if necessary log the MCDI error themselves. Said logging is done by new efx_mcdi_display_error. Callers of efx_mcdi_rpc*_quiet functions which may want to log the error need to ensure that their outbuf is big enough to hold an MCDI error; to this end, they now use MCDI_DECLARE_BUF_OUT_OR_ERR, which always allocates at least 8 bytes. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'net/ipv4/raw.c')
0 files changed, 0 insertions, 0 deletions