From: Jayamohan Kallickal Date: Wed, 4 Apr 2012 04:41:47 +0000 (-0500) Subject: [SCSI] be2iscsi: Check ASYNC PDU Handle corresponds to HDR/DATA Handle X-Git-Tag: v3.5-rc1~172^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9728d8d035a539072bf4dc6162a9f4e7f35ce012;p=pandora-kernel.git [SCSI] be2iscsi: Check ASYNC PDU Handle corresponds to HDR/DATA Handle For each ASYNC PDU received there is an HDR and DATA handle for it. There will be only 1 HDR ASYNC Handle, but DATA Handle can be more than 1 for each ASYNC PDU received. Checking if the ASYNC Handle correspongs to HDR or DATA while returning the Handle to the free list. hwi_free_async_msg just return the handles to the free list. No return values are needed so changing the return type to void. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed