Commit 0abcac4f authored by Samasth Norway Ananda's avatar Samasth Norway Ananda Committed by Conor Dooley
Browse files

firmware: microchip: fix wrong sizeof argument

response_msg is a pointer to an unsigned int (u32). So passing just
response_msg to sizeof would not print the size of the variable. To get
the size of response_msg we need to pass it as a pointer variable.

Fixes: ec5b0f11

 ("firmware: microchip: add PolarFire SoC Auto Update support")
Signed-off-by: default avatarSamasth Norway Ananda <samasth.norway.ananda@oracle.com>
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
parent 6613476e
Supports Markdown
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