QAIC_MANAGE_MAX_MSG_LENGTH
out_buf = kmalloc(QAIC_MANAGE_MAX_MSG_LENGTH, GFP_KERNEL);
QAIC_MANAGE_MAX_MSG_LENGTH, MHI_EOT);
if (user_msg->len > QAIC_MANAGE_MAX_MSG_LENGTH ||
user_msg->count > QAIC_MANAGE_MAX_MSG_LENGTH / sizeof(struct qaic_manage_trans_hdr))
if (user_msg->len > QAIC_MANAGE_MAX_MSG_LENGTH)
msg = kzalloc(QAIC_MANAGE_MAX_MSG_LENGTH + sizeof(*msg), GFP_KERNEL);
if (user_msg->len + len > QAIC_MANAGE_MAX_MSG_LENGTH)
if (user_msg->len + len > QAIC_MANAGE_MAX_MSG_LENGTH)
if (user_msg->len + len > QAIC_MANAGE_MAX_MSG_LENGTH)
msg_hdr_len > QAIC_MANAGE_MAX_MSG_LENGTH)