]> git.baikalelectronics.ru Git - kernel.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)
commite05e1a74834fa3bf4a1fd24c99c1e20dff0d34ca
treec8ae9c296c1a14b762dc997b8f783428c4b93149
parent3d4783b92ce045f2b6bd6814c711e92da04fb6ff
[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