aboutsummaryrefslogtreecommitdiff
path: root/mm/kmemleak.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-10-08 21:43:00 +0100
committerBen Hutchings <bhutchings@solarflare.com>2013-08-21 20:20:36 +0100
commit5bc283e51327e249459caab1aff505000ae2beeb (patch)
tree8fd6c302fe5eab6e3c9946d9ef4b667eccb1b3c6 /mm/kmemleak.c
parent86094f7f38ff711f3db8497fcb4d2e109100f497 (diff)
sfc: Translate MCDI error numbers received in events
Currently we only translate error codes in efx_mcdi_poll(), but we also need to do so in efx_mcdi_ev_cpl(). The reason we didn't notice before is that the MC firmware error codes are mostly taken from Unix/Linux and no translation is necessary on most architectures. Make sure we notice any future failure by changing the sign of resprc (matching the kernel convention) and BUG if it's ever positive at command completion. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions