video/ssd1307fb: fix NULL pointer dereference in probe
info->priv is dereferenced before a valid value has been set leading to
a NULL pointer dereference in the probe function. Fix this.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a171453 commit 09d11c546738a00754c9f1a9b726ddd14f5b5b38
@Ahmad Fatoum Ahmad Fatoum authored on 2 Mar 2020
Sascha Hauer committed on 9 Mar 2020
Showing 1 changed file
View
drivers/video/ssd1307fb.c