]> git.karo-electronics.de Git - linux-beck.git/commitdiff
IB/core: Documentation fix in the MAD header file
authorHal Rosenstock <hal@dev.mellanox.co.il>
Tue, 5 Jan 2016 18:52:55 +0000 (13:52 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 3 Mar 2016 18:13:52 +0000 (13:13 -0500)
In ib_mad.h, ib_mad_snoop_handler uses send_buf rather than send_wr

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/ib_mad.h

index 0ff049bd9ad413c47b92aaaf116a43d1738e4b32..37dd534cbeab89595280cb2aa0545a1702fd33fd 100644 (file)
@@ -424,11 +424,11 @@ typedef void (*ib_mad_send_handler)(struct ib_mad_agent *mad_agent,
 /**
  * ib_mad_snoop_handler - Callback handler for snooping sent MADs.
  * @mad_agent: MAD agent that snooped the MAD.
- * @send_wr: Work request information on the sent MAD.
+ * @send_buf: send MAD data buffer.
  * @mad_send_wc: Work completion information on the sent MAD.  Valid
  *   only for snooping that occurs on a send completion.
  *
- * Clients snooping MADs should not modify data referenced by the @send_wr
+ * Clients snooping MADs should not modify data referenced by the @send_buf
  * or @mad_send_wc.
  */
 typedef void (*ib_mad_snoop_handler)(struct ib_mad_agent *mad_agent,