mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 13:23:45 +00:00
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 <[email protected]> Reviewed-by: Dennis Dalessandro <[email protected]> Tested-by: Vinod Kumar <[email protected]> Signed-off-by: Mike Marciniszyn <[email protected]> Cc: [email protected] # 3.3+ Signed-off-by: Nicholas Bellinger <[email protected]>