summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/kcs_bmc.c
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2018-11-16 09:55:47 -0600
committerCorey Minyard <cminyard@mvista.com>2019-02-09 19:48:42 -0600
commit95ac0daa0ca98ad8ac23769021144f8bf04cf406 (patch)
treec12d06d3845d0bb90d0b6ddc7c671fc273be992a /drivers/char/ipmi/kcs_bmc.c
parentd5a2197be15ef600c4878d7aaaea8bfb5a06f0d9 (diff)
ipmi: Fix return value when a message is truncated
The user can ask the message to be returned even if it didn't supply enough memory for the data, and it will return an error but still fills in as much data as possible. However, the return value wasn't being set to an error, it was being overwritten. Create a second return value for that case. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/kcs_bmc.c')
0 files changed, 0 insertions, 0 deletions