From: Mike Marciniszyn Date: Mon, 7 Apr 2014 17:58:35 +0000 (-0400) Subject: ib_srpt: Use correct ib_sg_dma primitives X-Git-Tag: v3.15-rc1~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b076808051f2c80d38e03fb2f1294f525c7a446d;p=pandora-kernel.git ib_srpt: Use correct ib_sg_dma primitives The code was incorrectly using sg_dma_address() and sg_dma_len() instead of ib_sg_dma_address() and ib_sg_dma_len(). This prevents srpt from functioning with the Intel HCA and indeed will corrupt memory badly. Cc: Bart Van Assche Reviewed-by: Dennis Dalessandro Tested-by: Vinod Kumar Signed-off-by: Mike Marciniszyn Cc: stable@vger.kernel.org # 3.3+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed