From patchwork Mon Jan 4 20:44:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 7951201 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F34A19F6CD for ; Mon, 4 Jan 2016 20:44:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2A7502034B for ; Mon, 4 Jan 2016 20:44:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 056B220361 for ; Mon, 4 Jan 2016 20:44:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751922AbcADUoU (ORCPT ); Mon, 4 Jan 2016 15:44:20 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:36837 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751431AbcADUoS (ORCPT ); Mon, 4 Jan 2016 15:44:18 -0500 Received: by mail-wm0-f46.google.com with SMTP id l65so65038wmf.1 for ; Mon, 04 Jan 2016 12:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev-mellanox-co-il.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=tWlwGHMlCLGZInUJgjtprHvr5DLWzYxuLj5yR0d7rzA=; b=TRryjXoGeELIJqjUBBI/gmm4c85cxCzHez9WAeMbcrcbuvPG3Y70zck6l41Mi/xsEd +c1UVYfJKLuZkxFY2arSk/ZTkhYeUqNfU+mdn5WOcWFuhaV4vKETDSXbviKlIs9uG9q6 f2vMEWqLwjVAs5uKHXfJHxULFmPCsqQop49AjN6QtXQ2raA1qbFKZa54zGgAMcT64qzv zhK19AIFyJfq3rCsKdzGx0aXfQjuzePnez3scIle2bktbO6pyD+ydvABb0kqyYbSDPg2 u37TZvY156KVIKGlyjRRRd4MRUZ2Ku3813RUFacM6qGIkVBBD8+mNeI2InTjOywdkaA6 nPlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=tWlwGHMlCLGZInUJgjtprHvr5DLWzYxuLj5yR0d7rzA=; b=FZ+GxYiezoOTIIg+iJsKyebcjonWFQafKZZy7SlkXhUkk101DFg0MiUzPkzzYRzyjZ 5yLliz4XsVYoPSnddVmsbNUIc6zmQduTMw9p/s5Kz8Bu+Y67sDjP5NoC5L2TpwIH9iBN 8+Qo7HJ4FD+ZWLd7yEkNdAfUzyZs8uQSOPjXOxlwrmyFPi9QNvMG2suxZSkVXBGHnBD2 SlQWQ4VH0WJ73pi5c13bXsGcIHPkqHlSonxpeOpamwP/dFCigJiqDV95AcUVkvuXX6GK A6LPJ2AhNIpbLLbLBjN761Ij6zCff8rDKH1dj4UkiHSa8fQ0d4ZLk0thfapGFIZr7s1K Iupw== X-Gm-Message-State: ALoCoQnN5YbJVQLyVinmcDaYM5Awur6JkXjbFbjQpsLJtFoWiyMcpvi5iRzrMiguJ0lH6uz7NMl5fY1IUMTPKSh4ZNB5hMu7wQ== X-Received: by 10.194.114.106 with SMTP id jf10mr102832487wjb.149.1451940256676; Mon, 04 Jan 2016 12:44:16 -0800 (PST) Received: from [192.168.1.134] (c-50-177-107-17.hsd1.ma.comcast.net. [50.177.107.17]) by smtp.googlemail.com with ESMTPSA id wf8sm55429767wjb.45.2016.01.04.12.44.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jan 2016 12:44:16 -0800 (PST) To: Doug Ledford Cc: Leon Romanovsky , "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCHv2 TRIVIAL] IB/core: ib_mad.h ib_mad_snoop_handler documentation fix Message-ID: <568AD99F.7040009@dev.mellanox.co.il> Date: Mon, 4 Jan 2016 15:44:15 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP ib_mad_snoop_handler uses send_buf rather than send_wr Signed-off-by: Hal Rosenstock Reviewed-by: Ira Weiny --- Change since v1: Fixed typo in patch description -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h index ec9b44d..2b3573d 100644 --- a/include/rdma/ib_mad.h +++ b/include/rdma/ib_mad.h @@ -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,