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

From: RafaÅ MiÅecki
Date: Sat Jun 08 2013 - 11:51:05 EST


2013/6/8 Julia Lawall <Julia.Lawall@xxxxxxx>:
> From: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> 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Å
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/