Staging: sb105x: Fix a possible null dereference
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 20 Oct 2013 12:59:55 +0000 (18:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Oct 2013 05:34:21 +0000 (06:34 +0100)
commit7c64884b19f3dc864208df30c0a9c24175dac26a
tree7a283fbe2cbf28fcefd44bd752f25302f4185d42
parent5957324045ba2c127c9401fa3ac61ac52e043ca8
Staging: sb105x: Fix a possible null dereference

This patch fixes the following error in sb_pc_mp.c-

drivers/staging/sb105x/sb_pci_mp.c:546 mp_startup() error: we previously assumed 'info->tty' could be null (see line 525)

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sb105x/sb_pci_mp.c