Re: [PATCH] mtd: lpddr: Fix a double free in probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2020-02-28 at 09:25:54 UTC, Dan Carpenter wrote:
> This function is only called from lpddr_probe().  We free "lpddr" both
> here and in the caller, so it's a double free.  The best place to free
> "lpddr" is in lpddr_probe() so let's delete this one.
> 
> Fixes: 8dc004395d5e ("[MTD] LPDDR qinfo probing.")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux