[PATCH] drivers/mtd/devices/bcm47xxsflash.c: correct argument to kfree

Rafał Miłecki zajec5 at gmail.com
Sat Jun 8 11:50:59 EDT 2013


2013/6/8 Julia Lawall <Julia.Lawall at lip6.fr>:
> From: Julia Lawall <Julia.Lawall at lip6.fr>
>
> The argument to kfree should not be the address of a structure field.
> The argument is adjusted to correspond to what is found in the subsequent
> remove function.

This was already addressed in
[PATCH RESEND 1/2] mtd: bcm47: convert kzalloc to avoid invalid access

Artem: can you pick pointed patch, please? So people don't report it
over and over ;)

-- 
Rafał



More information about the linux-mtd mailing list