From: Jayamohan Kallickal Date: Tue, 6 May 2014 01:41:24 +0000 (-0400) Subject: be2iscsi: Fix retrieving MCCQ_WRB in non-embedded Mbox path X-Git-Tag: omap-for-v3.16/fixes-against-rc1~13^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daa8dc081cd801635b2757aa6f257a79d9ac6d2c;p=pandora-kernel.git be2iscsi: Fix retrieving MCCQ_WRB in non-embedded Mbox path Getting WRB for MCCQ posting was done before looking if tag is available or not. This lead to increase phba->ctrl.mcc_obj.q.used variable and the WARN_ON message was coming from wrb_from_mccq(). Moved getting wrb from mccq after checking for the tag. In wrb_from_mccq(), memset is done before returning wrb ptr. Removed memset of mccq wrb from all other functions. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed