From: Dan Carpenter Date: Sun, 19 Apr 2009 16:07:47 +0000 (+0300) Subject: [SCSI] libosd: fix potential ERR_PTR dereference in osd_initiator.c X-Git-Tag: v2.6.30-rc5~53^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf5e84f69618f416e89a5a53434a8c865e70252e;p=pandora-kernel.git [SCSI] libosd: fix potential ERR_PTR dereference in osd_initiator.c bio_map_kern() returns an ERR_PTR() not NULL. Found by smatch (http://repo.or.cz/w/smatch.git). Compile tested. Signed-off-by: Dan Carpenter Signed-off-by: Boaz Harrosh Signed-off-by: James Bottomley --- Reading git-diff-tree failed