]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] ufs: fix potential NULL pointer dereferencing error in ufshcd_prove.
authorNamjae Jeon <linkinjeon@gmail.com>
Sun, 20 May 2012 07:08:01 +0000 (03:08 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 23 May 2012 08:29:39 +0000 (09:29 +0100)
commit4886b1afee5aaccc2fb3202620a5608caf0c9284
treec8ae9c296c1a14b762dc997b8f783428c4b93149
parent841f97bffc11daaef9eb28d201be25b1509db97d
[SCSI] ufs: fix potential NULL pointer dereferencing error in ufshcd_prove.

Avoid dereferencing a NULL pointer if scsi_host_alloc is failed.

Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ufs/ufshcd.c