Commit 13dd5dcc authored by Tristan Gingold's avatar Tristan Gingold Committed by Dimitris Lampridis

sw/fw: fix compiler warning.

parent bf932501
......@@ -92,8 +92,8 @@ static int trtl_fw_buffer(struct trtl_fw_msg *msg_i, struct trtl_fw_msg *msg_o)
return -EINVAL;
din = msg_i->payload;
dout = msg_o->payload;
if (msg_o) {
dout = msg_o->payload;
msg_o->header->msg_id = TRTL_MSG_ID_BUF_GET;
msg_o->header->len = msg_i->header->len;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment