[PATCH] gpio: dwapb_gpio: Using wrong function to free memory
Tom Rini
trini at konsulko.com
Tue Aug 12 00:21:01 CEST 2025
On Fri, 25 Jul 2025 12:48:22 +0100, Andrew Goodbody wrote:
> In gpio_dwapb_bind plat is used to reference memory allocated by
> devm_kcalloc but it is attempted to be freed using kfree. Instead free
> this memory using the correct devm_kfree function.
>
> This issue was found by Smatch.
>
>
> [...]
Applied to u-boot/next, thanks!
[1/1] gpio: dwapb_gpio: Using wrong function to free memory
commit: 916f4337d1d3db4d16040abff39a5f4419589ead
--
Tom
More information about the U-Boot
mailing list