hfi1: Remove open coded reference to skb frag offset
Subsystems (2)
PATCH 1/1 hfi1: Remove open coded reference to skb frag offset
frag offset should be obtained from skb_frag_off; update the code.
Signed-off-by David Ahern <[email protected]>
Cc Dennis Dalessandro <[email protected]>
--- drivers/infiniband/hw/hfi1/ipoib_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/hfi1/ipoib_tx.c +1 -1
@@ -217,7 +217,7 @@ static int hfi1_ipoib_build_ulp_payload(struct ipoib_txreq *tx, ret =sdma_txadd_page (dd, txreq,skb_frag_page (frag), - frag->bv_offset, +skb_frag_off (frag),skb_frag_size (frag),NULL ,NULL ,NULL );if (unlikely (ret))
Signature · 1 line
2.25.1
Leon Romanovsky
AppliedQuoted 3 lines · David Ahern
frag offset should be obtained from
skb_frag_off; update the code.
Applied, thanks!
[1/1] hfi1: Remove open coded reference to skb frag offset
https://git.kernel.org/rdma/rdma/c/1df1f730d765f5
Best regards,
Signature · 1 line
Leon Romanovsky <[email protected]>