9
0
Fork 0
barebox/drivers/mtd/nor
Philippe Rétornaz fb7836ebf6 cfi_flash: fix NULL pointer dereference
We need to setup the info->dev pointer before flash_get_size() since it
might use it for dev_dbg().
This fix a crash on boot when debug output is enabled.

Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-02-28 09:03:04 +01:00
..
Kconfig mtd nor: remove unnecessary 'depend' in Kconfig 2013-02-18 11:21:47 +01:00
Makefile nor flash: integrate into mtd 2013-02-14 23:37:53 +01:00
cfi_flash.c cfi_flash: fix NULL pointer dereference 2014-02-28 09:03:04 +01:00
cfi_flash.h cfi: Add dev * to flash_info and switch to dev_* 2013-05-27 18:24:59 +02:00
cfi_flash_amd.c nor flash: integrate into mtd 2013-02-14 23:37:53 +01:00
cfi_flash_intel.c nor flash: integrate into mtd 2013-02-14 23:37:53 +01:00