ipmi: get COMPAT_IPMICTL_RECEIVE_MSG in sync with the native one
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Jun 2017 20:47:01 +0000 (16:47 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Jun 2017 20:47:01 +0000 (16:47 -0400)
commit8b9e04f282c76786fad1a031b38e279bfababd9c
tree7034afb9f540e0b14e3cc814c33e4eb2fa28e1b3
parent1b3c872c8342803d0fcd8042e4e007d173191db6
ipmi: get COMPAT_IPMICTL_RECEIVE_MSG in sync with the native one

We want to know if copyout has succeeded before we commit to
freeing msg.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/char/ipmi/ipmi_devintf.c