From patchwork Tue Jan 5 10:19:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 7953611 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 51149BEEE5 for ; Tue, 5 Jan 2016 10:19:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6BEE82039E for ; Tue, 5 Jan 2016 10:19:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C17A20389 for ; Tue, 5 Jan 2016 10:19:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751735AbcAEKTX (ORCPT ); Tue, 5 Jan 2016 05:19:23 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:38177 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751590AbcAEKTW (ORCPT ); Tue, 5 Jan 2016 05:19:22 -0500 Received: by mail-wm0-f43.google.com with SMTP id b14so21508867wmb.1 for ; Tue, 05 Jan 2016 02:19:21 -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=7UmUxjvLzhZcanbzJ0WFACsVs+iQb0Jyj7/aabGz1AE=; b=h9Y+5YONU/ATXOrjs4YHgP8lZBZoPocF/sPjQQaCIJ0QCzAFRY4mnqQbCJFsAAYhuj q+SPbNJvUsHJ4/YBeur6slQfoakSDUofhiIAjV+IJraIhBJGUFapDk4FmuJi++uIHsx0 +gURB9Dfob8HtUGug94pCNB8acn5vpq1sfQmCnnPr8TDq2uYCwdDY9OjIDokFvVpdZjn Ss74hbQnkVjZ5sr7aZhiBJchBRTwwZvx2lsrKuHMLQTx9BImuYaS01Sc2cV1obkkxSRW Ben46n1zFNuYsPLV7Cksu4JeDDi6+qHOCGCTKFfC+YMEjCl3eydTEkRu8uy0yIT17WFS wB4w== 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=7UmUxjvLzhZcanbzJ0WFACsVs+iQb0Jyj7/aabGz1AE=; b=NWtW57DY+vojAaF6Q15Aw9TWiFKxpBGDYwSBtX7t/3yjW74bPBoqmtoyFteVhW/830 /3UF3unHnkhiXCjgCwmI6J58dCOgYyfWVAUpuG8FpXWtELX2Bfn7PeEuBQfmqFeg6ilo i10DC9XVSds7oMvy3x6rGqO5PWsHFHpyXCfyHHvCeeIL4394DKQtBvjvyCQw4Q1UcCD5 NQBnlwb3BNYmlQJ94JGg0xRju3060sk3jlMlBitIJ6zLQJCS3Qqyj9rbLoSb8UxZfSfr kyQtD+aVAHAMmyby9xq1AoDaDNvFOfShQOJmkemc1fmUKhsWlsjZveplcMe0kXXFw02e e4/g== X-Gm-Message-State: ALoCoQn+pexajjXSaaeJvu5j/OBe8yqIHztVHEurL+vhTwI66HGOiCpgys1tEK16DB7kM+imaC7SqQnUn07jZs5ndAcjmcDqqg== X-Received: by 10.194.220.233 with SMTP id pz9mr113824173wjc.95.1451989161217; Tue, 05 Jan 2016 02:19:21 -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 a126sm2798224wmh.0.2016.01.05.02.19.19 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jan 2016 02:19:20 -0800 (PST) To: Doug Ledford Cc: Or Gerlitz , Leon Romanovsky , "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCHv3 TRIVIAL] IB/core: Documentation fix to ib_mad_snoop_handler in the MAD header file Message-ID: <568B98A6.3010908@dev.mellanox.co.il> Date: Tue, 5 Jan 2016 05:19:18 -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 --- 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,