staging: unisys: dereferencing NULL pointer
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 7 Nov 2014 12:18:35 +0000 (17:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:22:46 +0000 (09:22 -0800)
commit930a021f2ec59d2143ca86a357773128785ed16f
tree77266a6bcbfbd20f93e428313668adb4f31a9849
parentf9b64692e13b2f0d2a393e41972aa317f34a3e46
staging: unisys: dereferencing NULL pointer

we can reach the label Away in total five situation and in four of
of them pDevInfo is NULL. so we were basically dereferencing a NULL
pointer.

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