ipmi: Fix some counter issues
authorCorey Minyard <cminyard@mvista.com>
Fri, 6 Apr 2018 02:37:56 +0000 (21:37 -0500)
committerCorey Minyard <cminyard@mvista.com>
Wed, 18 Apr 2018 15:22:57 +0000 (10:22 -0500)
commitac93bd0c9e163fd3e2edfb4b5af22955b408431a
tree5e264f9a8e2c8c0e0548ef7e7f2d4a22113f8f3e
parenta567b6230066e3a2c964e2dc914e7f9a436806c4
ipmi: Fix some counter issues

Counters would not be pegged properly on some errors.  Have
deliver_response() return an error so the counters can be
incremented properly.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c