]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: imxfb: fix a typo in imxfb_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 5 Jul 2019 15:42:13 +0000 (17:42 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 5 Jul 2019 15:42:13 +0000 (17:42 +0200)
commitb166372bb48c2875b370d3d9aed58bcc56b0be47
treefef3a0f43f2c44a8b0a1f2fa209dc471ebd76d25
parent2f011957329c8e549d621a22e645eeb7db10765c
video: fbdev: imxfb: fix a typo in imxfb_probe()

Fix the return value check which testing the wrong variable
in imxfb_probe().

b.zolnierkie: please note that ->screen_base and ->screen_buffer
are equivalent (they are part of unnamed union in struct fb_info)

Fixes: 9b2e9af492fa ("video: fbdev: imxfb: fix sparse warnings about using incorrect types")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/imxfb.c