On Wed, Nov 20, 2019 at 08:38:16AM +0100, Ahmad Fatoum wrote: > data->{blocks, blocksize, flags} are all used outside of the if clause > checking whether data is not NULL. > Fix this to avoid dereferencing null pointers. > > Fixes: bdcf89d274 ("mci: add Marvell Dove SDHCI driver") > Cc: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx> > Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx> > --- > drivers/mci/dove-sdhci.c | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox