[PATCH 3/4] sata: dwc_ahsata: Fix incorrect free
Simon Glass
sjg at chromium.org
Mon May 4 16:17:50 CEST 2020
On Sun, 3 May 2020 at 08:04, Peng Fan <peng.fan at nxp.com> wrote:
>
> From: Ye Li <ye.li at nxp.com>
>
> Fix coverity issue CID 43665: Free of address-of expression (BAD_FREE)
> incorrect_free: free frees incorrect pointer pp.
>
> pp points the port array field of struct ahci_uc_priv, should not free it.
>
> Acked-by: Peng Fan <peng.fan at nxp.com>
> Signed-off-by: Ye Li <ye.li at nxp.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
> drivers/ata/dwc_ahsata.c | 1 -
> 1 file changed, 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list