[PATCH] IPMI: return correct value from ipmi_write