[patch] mtd: nuc900_nand: NULL dereference in nuc900_nand_enable()

Brian Norris computersforpeace at gmail.com
Sat Feb 22 21:37:07 EST 2014


On Mon, Feb 17, 2014 at 11:03:08PM +0300, Dan Carpenter wrote:
> Instead of writing to "nand->reg + REG_FMICSR" we write to "REG_FMICSR"
> which is NULL and not a valid register.
> 
> Fixes: 8bff82cbc308 ('mtd: add nand support for w90p910 (v2)')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> ---
> Static checker stuff.

Pushed to l2-mtd.git. Thanks!

Brian



More information about the linux-arm-kernel mailing list