From patchwork Tue Jan 5 18:52:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 7958121 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 3DD799F32E for ; Tue, 5 Jan 2016 18:53:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5AFDE2022A for ; Tue, 5 Jan 2016 18:53:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7A70720225 for ; Tue, 5 Jan 2016 18:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751526AbcAESw6 (ORCPT ); Tue, 5 Jan 2016 13:52:58 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:33134 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751509AbcAESw6 (ORCPT ); Tue, 5 Jan 2016 13:52:58 -0500 Received: by mail-wm0-f50.google.com with SMTP id f206so34273162wmf.0 for ; Tue, 05 Jan 2016 10:52:57 -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=iblT+TgdQeJyCiE7SH8nplfjJsDHJ+t6klu5HIG04DM=; b=FOFxmDT5RppJjofaW9w7FGK/wQVC2e8RpdRurqamFpwtnrD0/tfYMrdSdMlz1+6IV6 NV7vX9461qeXZvAxUU8qw7h0sO4CSFNA0qjIthhomqhlIt+KvLnhU+rieDx8D4m7c3X4 OX40QDtSBQ63ed317TUzsa4Kgu7rq1qFy7/AiVD0fDqVgEQJSS/cobOQHqgfWm491XRg td4Ga5sdpRZXiBmNrT0LJXweL92KECpbe96Tf3UiFNqAvDYbzuF44IVpLLZJMqwNBO1h mznbwVpGQnZVsAuPwknjLESN0gY/IYyDIuz+/fgWrf1BszeJYnqTW3R8iY58UHjCvQSs lJcQ== 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=iblT+TgdQeJyCiE7SH8nplfjJsDHJ+t6klu5HIG04DM=; b=mtknxZQQ5vWcfyWEN22G1DqEA03L5KNCPV3cqPGCDKoxDlt/YJYEmi404051m/fRq7 xjbdYRWsUaFaVOH6uMfADMhQLzNE5FaUX7AbSnqyK0xsG3snBkLK5ys5Cs8YwrOwst2x Uk+RFbts+cKLBW90N3aqvtLFhFYLC3/EHsGA266IZBGyiceQ1CrtJibdg5oZVS05mY2U t0HJ0Fc0Sq/kVi0PJWtfCbJ3oKoBa3l11iRYgsHYDPi5mxXlHQAa5DuMDNJPkKTcsjtF kJI0b22mVMyKFTw5z/ZV86Nw2wjmhD3KJ3XwkQl6EOaVSMbhO+teR5tPcD+L+rH9Eehk izNQ== X-Gm-Message-State: ALoCoQl4KCd0RiK5/MHFiy7rbflRHX8SdNZq7E9nXKLRghl2OqUUzKpWJ+iyXZPmjvq+MiaWiTUIu9OIYBIh9TrqFlT9/3beSw== X-Received: by 10.28.150.72 with SMTP id y69mr5346741wmd.17.1452019976848; Tue, 05 Jan 2016 10:52:56 -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 w8sm48314934wjx.21.2016.01.05.10.52.55 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jan 2016 10:52:56 -0800 (PST) To: Doug Ledford Cc: Or Gerlitz , Leon Romanovsky , "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCHv4 TRIVIAL] IB/core: Documentation fix to the snoop handler in the MAD header file Message-ID: <568C1107.2060203@dev.mellanox.co.il> Date: Tue, 5 Jan 2016 13:52:55 -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 In ib_mad.h, ib_mad_snoop_handler uses send_buf rather than send_wr Signed-off-by: Hal Rosenstock Reviewed-by: Ira Weiny --- Change since v3: Fixed title to not include function name Change since v2: Changed title to use "higher" language 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,