ipmi:devintf: Return a proper error when recv buffer too small
authorCorey Minyard <cminyard@mvista.com>
Thu, 30 Sep 2021 21:12:55 +0000 (16:12 -0500)
committerCorey Minyard <cminyard@mvista.com>
Tue, 5 Oct 2021 11:54:16 +0000 (06:54 -0500)
commit17a4262799fa7449e8fe06fe6d930ab7f5f32528
tree8efa68c75d690554d4f2b99b258117b50122aaf7
parentb36eb5e7b75a756baa64909a176dd4269ee05a8b
ipmi:devintf: Return a proper error when recv buffer too small

The right error message wasn't being set in one location, and it would
return success on a failure.

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