Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <hal@mellanox.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>

authored by

Hal Rosenstock and committed by
Doug Ledford
5a30247b aba25a3e

+2 -2
+2 -2
include/rdma/ib_mad.h
··· 424 424 /** 425 425 * ib_mad_snoop_handler - Callback handler for snooping sent MADs. 426 426 * @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. 428 428 * @mad_send_wc: Work completion information on the sent MAD. Valid 429 429 * only for snooping that occurs on a send completion. 430 430 * 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 432 432 * or @mad_send_wc. 433 433 */ 434 434 typedef void (*ib_mad_snoop_handler)(struct ib_mad_agent *mad_agent,