]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: sm7xxfb: fix error handling
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 7 Jul 2015 08:14:34 +0000 (13:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 03:05:32 +0000 (20:05 -0700)
commit4a012d30508ed09063e35eeee95e34ecc8534716
treead294a4d8708c4058095d6e593ed6f953d0e984b
parentd6cb68d51e7123a66c78ec4c48b2686509f290b6
staging: sm7xxfb: fix error handling

We were checking smtc_regbaseaddress and that too at a place where it
can never be NULL. Real check should be on sfb->lfb immediately after
we do ioremap.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xxfb/sm7xxfb.c