]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2iscsi: Check ASYNC PDU Handle corresponds to HDR/DATA Handle
authorroot <root@localhost.localdomain>
Wed, 2 May 2012 14:25:07 +0000 (19:55 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 11 May 2012 00:08:54 +0000 (17:08 -0700)
commit70f465d9767a66d215c5ad72d4fe2d721448820f
treecc1ab7d6f83ced7fee0f1fb15cdf4c0e4031a0c2
parent614da35dc00013d8a2b6c763b33c6651088f0cdb
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: root <root@localhost.(none)>
drivers/scsi/be2iscsi/be_main.c