Skip to content

Commit 5a30247

Browse files
Hal Rosenstockdledford
authored andcommitted
IB/core: Documentation fix in the MAD header file
In ib_mad.h, ib_mad_snoop_handler uses send_buf rather than send_wr Signed-off-by: Hal Rosenstock <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent aba25a3 commit 5a30247

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/rdma/ib_mad.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,11 +424,11 @@ typedef void (*ib_mad_send_handler)(struct ib_mad_agent *mad_agent,
424424
/**
425425
* ib_mad_snoop_handler - Callback handler for snooping sent MADs.
426426
* @mad_agent: MAD agent that snooped the MAD.
427-
* @send_wr: Work request information on the sent MAD.
427+
* @send_buf: send MAD data buffer.
428428
* @mad_send_wc: Work completion information on the sent MAD. Valid
429429
* only for snooping that occurs on a send completion.
430430
*
431-
* Clients snooping MADs should not modify data referenced by the @send_wr
431+
* Clients snooping MADs should not modify data referenced by the @send_buf
432432
* or @mad_send_wc.
433433
*/
434434
typedef void (*ib_mad_snoop_handler)(struct ib_mad_agent *mad_agent,

0 commit comments

Comments
 (0)