[PATCH 3/4] sata: dwc_ahsata: Fix incorrect free

Tom Rini trini at konsulko.com
Sat May 9 00:59:27 CEST 2020


On Sun, May 03, 2020 at 10:27:02PM +0800, Peng Fan 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200508/b6f3ddba/attachment.sig>


More information about the U-Boot mailing list