ipmi_msg
struct acpi_ipmi_msg *ipmi_msg;
ipmi_msg = kzalloc_obj(struct acpi_ipmi_msg);
if (!ipmi_msg) {
kref_init(&ipmi_msg->kref);
init_completion(&ipmi_msg->tx_complete);
INIT_LIST_HEAD(&ipmi_msg->head);
ipmi_msg->device = ipmi;
ipmi_msg->msg_done = ACPI_IPMI_UNKNOWN;
return ipmi_msg;
static void get_compat_ipmi_msg(struct ipmi_msg *p64,
struct ipmi_msg msg;
struct ipmi_msg msg; /* The data field must point to a buffer.