From: Mike Christie Date: Wed, 13 May 2009 22:57:40 +0000 (-0500) Subject: [SCSI] libiscsi: handle param allocation failures X-Git-Tag: v2.6.31-rc1~365^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5700b1af93388544843a453e3c68f8f928bd1e88;p=pandora-kernel.git [SCSI] libiscsi: handle param allocation failures If we could not allocate the initiator name or some other id like the hwaddress or netdev, then userspace could deal with the failure by just running in a dregraded mode. Now we want to be able to switch values for the params and we want some feedback, so this patch will check if a string like the initiatorname could not be allocated and return an error. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed