[PATCH 1/1] firmware: microchip: fix wrong sizeof argument

Conor Dooley conor at kernel.org
Mon Jan 29 10:53:55 PST 2024


From: Conor Dooley <conor.dooley at microchip.com>

On Thu, 25 Jan 2024 13:19:33 -0800, Samasth Norway Ananda wrote:
> 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.
> 
> 

Applied to riscv-soc-drivers-fixes, thanks!

[1/1] firmware: microchip: fix wrong sizeof argument
      https://git.kernel.org/conor/c/0abcac4fe3ca

Thanks,
Conor.



More information about the linux-riscv mailing list