Message ID | 571A93E5.7030807@sandisk.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> 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 8CCF49F372 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 22 Apr 2016 21:13:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A9D0D201EF for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 22 Apr 2016 21:13:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AFF65201CE for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 22 Apr 2016 21:13:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751933AbcDVVNP (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Fri, 22 Apr 2016 17:13:15 -0400 Received: from mail-by2on0094.outbound.protection.outlook.com ([207.46.100.94]:18912 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751742AbcDVVNN (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Fri, 22 Apr 2016 17:13:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6PCQmECOYR78l8S7GsnRf4nn/MdLWpVwjy5SqGiE07c=; b=BOVUjVZQTZSciBt4o8ZK6N4gYNDzknEbHvgUKtD0Ma0fbRm8BZ1Le0Tmh+6phPkJlP1iLMmLOgkzoA3cs9WOjo1Db4KQvJ0rUiGdgUTQfjed8fAmZgXKdjpy01wTNtaxkE6VnCNuby60r7JTkLzz9ILZ0fPVxWgosiTlwdELNXg= Received: from CY1PR0201CA0001.namprd02.prod.outlook.com (10.163.30.139) by CY1PR0201MB1865.namprd02.prod.outlook.com (10.163.56.11) with Microsoft SMTP Server (TLS) id 15.1.466.19; Fri, 22 Apr 2016 21:13:11 +0000 Received: from BN1BFFO11FD047.protection.gbl (2a01:111:f400:7c10::1:162) by CY1PR0201CA0001.outlook.office365.com (2a01:111:e400:58b9::11) with Microsoft SMTP Server (TLS) id 15.1.477.8 via Frontend Transport; Fri, 22 Apr 2016 21:13:10 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BN1BFFO11FD047.mail.protection.outlook.com (10.58.145.2) with Microsoft SMTP Server (TLS) id 15.1.472.8 via Frontend Transport; Fri, 22 Apr 2016 21:13:10 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [172.22.12.162]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id D0.65.04010.D739A175; Fri, 22 Apr 2016 14:11:25 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.279.2; Fri, 22 Apr 2016 14:13:09 -0700 X-AuditID: ac160c71-327ff70000000faa-66-571a937dfb17 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 17.1E.02566.5E39A175; Fri, 22 Apr 2016 14:13:09 -0700 (PDT) Subject: [PATCH 03/11] IB/srp: Document srp_map_data() return value To: Doug Ledford <dledford@redhat.com> References: <571A936F.7040409@sandisk.com> CC: Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>, Laurence Oberman <loberman@redhat.com>, "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <571A93E5.7030807@sandisk.com> Date: Fri, 22 Apr 2016 14:13:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <571A936F.7040409@sandisk.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrILMWRmVeSWpSXmKPExsWyRoxnkW7tZKlwgwkLtC1env/AarFy9VEm i2eHelkszn94xWSx7vV7FgdWj/P3NrJ47L7ZwObxft9VNo/Pm+QCWKK4bFJSczLLUov07RK4 MmbumMxacJO94tOd00wNjBvYuhg5OSQETCSO3PvF0sXIxSEkMJdJ4sTLS4wQzg5GiWm7DjHC VH2d3cQKYgsJLGWUmNgn0MXIwSEs4CyxsdUfJCwioCax6dUidogSLYmlE3+zgsxhFljNKPFl 2SsmkASbgJHEt/czWUBsXqCinRe2gzWwCKhKTNh9FGyXqECExOp115ghagQlTs58AlbPKaAt 8bxzPjPIXmYBTYn1u/RBwswC8hLb385hBtklIbCOVeLZ9J9Qd6pLnFwyn2kCo/AsJKNmIbTP QtK+gJF5FaNYbmZOcW56aoGhiV5xYl5KZnG2XnJ+7iZGSEQU7mB8fdv7EKMAB6MSD++HBslw IdbEsuLK3EOMEhzMSiK8kydIhQvxpiRWVqUW5ccXleakFh9ilOZgURLnvRj9MUxIID2xJDU7 NbUgtQgmy8TBKdXA6BNrHm9zfdFbAy1tx9e1mYdtGZzN8/g6jmbEX5dWsYvgsXl/a0X43tC1 s1h5bu3ftvfTI705Uq4cZ7ev1jkZfWTxmk36RluYDzT6WhoKXjvXfMJt8Z5trCXTl1tePaD0 T+/2EvP4Q59zW5VvFhb7Wjmv7u1NX8qrXDZhjuU0OTa/md777U8lKrEUZyQaajEXFScCAGLI bLmEAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBJMWRmVeSWpSXmKPExsXCtZEjRffpZKlwgyPTxC1env/AarFy9VEm i2eHelkszn94xWSx7vV7FgdWj/P3NrJ47L7ZwObxft9VNo/Pm+QCWKK4bFJSczLLUov07RK4 MmbumMxacJO94tOd00wNjBvYuhg5OSQETCS+zm5iBbGFBBYzSkzZKtvFyMEhLOAssbHVHyQs IqAmsenVInaIEi2JpRN/A5VzcTALrGaUuNf3ixEkwSZgJPHt/UwWEJsXqGjnhe1gDSwCqhIT dh8FqxEViJBYve4aM0SNoMTJmU/A6jkFtCWed84HizMLqEv8mXcJypaX2P52DvMERr5ZSFpm ISmbhaRsASPzKkax3Myc4tz0zAJDQ73ixLyUzOJsveT83E2M4LDkjNzB+HSi+SFGJg5OqQbG U/wnVj7WMtBW3zKBKV2v6BrjF4cenT6udA5mpmXGCvrKablvnqpw2NU95u2eKfr5x32X/2wB 1iXpDUebju+Sme+iYmwzdQVvcZffP9stPbekevJm5B4o3TrvuB37bumXj8Wv6NrvaJotyNu7 gP26Ut/OPPXJu6SX5iztD3XI2xDI8TkkYZUSS3FGoqEWc1FxIgBXRGnY+wEAAA== X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(92566002)(189998001)(106466001)(110136002)(19580405001)(53416004)(19580395003)(87936001)(2270400002)(65806001)(2950100001)(2906002)(33656002)(47776003)(77096005)(80316001)(65956001)(23676002)(59896002)(86362001)(64126003)(11100500001)(5008740100001)(586003)(5003600100002)(36756003)(230700001)(6806005)(4001350100001)(229853001)(50986999)(1096002)(76176999)(50466002)(54356999)(1220700001)(65816999)(4326007)(81166005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0201MB1865; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD047; 1:uY9TelDfroyVLYWfuSe5O9Uwol5LCoXChZxo3OMj/nNOXbSUdPwg8pSmDRQe/4gi32GuZIFAgG+03h4fSW31oWVSdHtMAJpYABg7zeJ7twh1xOW/Cgf01W4TOGgHibR7vmYwsI1UAwN0LKk2mMA9tsWQaIF4g0m0x5ms7Pl20z4SVKVwtpbh+aZeBe3/Wp45jtu5kRtkVuKKgTpRhPvTKtpcAfbxJGi9PSa3Mz9AIl+VzqrlsTG7xDs2Z6nHM2IXz/3Yd2yHvPeXGS2h034XMoF+7JY/SJuLxXohwF8IQelwheAbOLYhsUl5ojs/JmaR83Fs9X1hKejds9vzpBmNxw93MkHTjanKG3M9ooQh4bEijFyj98FLyMfxI6z3yyu2OJx7C70XOgrQ98b8QxfVsV3lvYeRCHwEliJh6+JwBvxi1stN79n0mLEJgo/aSf5w X-MS-Office365-Filtering-Correlation-Id: b6cf0eab-3d8b-43aa-583c-08d36af2e8ae X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1865; 2:Sy5cCl/wI3/9xPkb+PDs9Q0W4ZDiTQfCKTP5dPoBtaKbxO/jetS+5Gh1bl46XylcaIRCJ62rdYB8AfU03iz8LmzA36Y/+1seZJDXnba6ZCZDMd3CX/AGa0ehpbp0qW8F8eHuAhhNsCgUonZSMB032sfUpL/FcJW0NrlN1iJFV3Bzh/3xQaegVUYolx1U7+Mh; 3:MnpiN/hZUWru165HpOG6BU2iACO2O2CfFk3LK7vBFIhaVJkoHFJYYYVfrUPnQ04Hzd2wYxiFhoWWT9L2oIot5MTYx/WVDAk+ptgtth9L6EyoAcVVuU/O5aClhNHCECD4msoo3dKHE1qPZG9LXSg+kWjUzV8my17J0HpcfQo5Tvk1p9q0PxxRsoOgsvgb64/PRP9rkwUCsbGHYSCTNhWF7BPYu+MI3ojMA6GJv50hg4xPlr9yLpjlJM1stRxxKA8XeJskqq1AyFQTmj+8OMsfaQ==; 25:AycxqBmactyn57iwTMSf9STxsY6a4jdexdmtYTdpJd/9tUsYHNqU7bDbnbwECX4/cKanePIYokt3rGGUgBxFcSUwm3q1EE40ROnnp27Ghdxnu3e8fVUpASeGf2APso2xKQl0oqSoFDEH8jzoSzZrNk013tvbjAGaFhXMAUh23JptOJBprKHb0Qdjcjb08Fxu0S9qE8IiebMAbQTAosQdKYDSJachZI5siDY0F6yv9/jBUrKVawlwHf+pIJJYPRUIiEAKNvPN0wUveD5ZEz7d73A6yx9ID4t8ltDuxgMlUVfXxiE0Ag9TSOLcwgJy75Qt12KG6BqfwpWKLgwS1qQ4kA== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:CY1PR0201MB1865; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1865; 20:acd3jJvhrmoO+XpjUuUQvBFd9EdmcVRVTUD4G1rUVrK5TTlX09N5ZHdFrDazQntHPlVVoPhXINwVJhqJPMbNG4zFQ2+XaPd3rCANril/2gpkKp1alutYaDfIFelzROdvY6SqbfwBZFmHpCODZDv8Tzl6Y9bF92p4nf/A2AceCj5A74lEhgNf/SlU04SBSUmh1MZpq+Pg7M3EpNx83SUozkxNqu4Hry7Qb+YAO94V7O10HJFdjBMhK7dgueRMia4dRoLMLnj7Astay2E+uSmCbvC4aF5xQhUN/XXfDVSAOkszWwS6yR8EppPiioqSIGRIIs32rrnQWUnBYnVKjEnKAMbUkx6Gs/EkAUlHazpmZOVx7BUPdU496nT9WGnAZ8nD/o9yWNOE909kzU1xwG8cOudDUx0T84uwjv16K3XXgj1vT5b5x93Ws9pzlDPMXMwRvxtRBuUZwcFSvk6SIrrIu6enhQLoEiYpQisU8KlGaJxey0C9vuxKRD6HGF9g8uJs; 4:VhzrQmLIwArC4Oq0fTDKsMRC9l4we3CYPff9saDTadO54AQxmVB2jX/fKOwb0nMjBnRNgk6nOlYMt9sxZTY806DyO1CiK1b85wd4S5rDahDTMhBzSJOAuGjzf93CWqZzRjD+qe/hvg+CSpZ3AtHRwWDI4ZJEEUdO9YxzxX97a9XX3iE8qFZQVJFJna0oLnaVvgdWjl3rJukrFS9mHQ9ogml7jclJAHFzm+nm9Qyi/+5y103qytYzp1AkuivoG9FJWj+x/huRT9vm4+KwDnjvyTVVUi2Wv86VbOOdn/qxbp6aUAJX9hRD7hmRfu7CDtXyQSXOY3lM5+xca7ljA9ll74DmG/sOLKfpSF0cXBIKyAt9MU0Rwg11nHpA54LnPP7P+m/X9eCHIHec6YNCjMiy7HPeT9IagDillLhW S0XITetVOZSjVmAcZN4qjR3F2O+3 X-Microsoft-Antispam-PRVS: <CY1PR0201MB18652977F5D936380AB597D4816F0@CY1PR0201MB1865.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(9101521026)(601004)(2401047)(8121501046)(5005006)(13018025)(13016025)(10201501046)(3002001); SRVR:CY1PR0201MB1865; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0201MB1865; X-Forefront-PRVS: 0920602B08 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjAyMDFNQjE4NjU7MjM6ajIxcFUrMUl5TlVyN2dkZ0ZwOTBiTzRt?= =?utf-8?B?ZTQ4NUdVbW40Y2hBSmxhN1ErY0QybnVTd2FwN0VlQ1FmaGhsM0tOcTFIS1NI?= =?utf-8?B?TTlVVTF1NUlhUDJaakJ0SXBiVDBSbHVhVE1TNlVVbUdRNVUyaEM1RjVpNWRv?= =?utf-8?B?Y2VoUjBHZU1TcS9IK0xGZzJxZmtjb0dwcWhZdVJPRDlxaUVvNnRaMWxvOXBB?= =?utf-8?B?NHQ0L21jVDJvL1cvc01xNU00TUpPQjVoL3A2WElxait1Y0phenpMdm9JQkRF?= =?utf-8?B?K1pTWFN5MU56S3B5K25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nPHroDh8+sO2Gegs3NiceXf/nD6qfE/1SVr52aqYAiOtjtTL7lAGnSIGVNlLdqaawtEkEjD96LYVaCu99HA4Ex4FckHpbq5uJqXdzsZg4DGnRp6LFyG41IkBrIQI69tLbX3X2joMjrX7R5NGNVPAHA6lFbg4j+IY5dLbeq6z9ZVEjy6TP279ISeNZGCmzGskWMWod SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2016 21:13:10.2281 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB1865 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-7.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 |
Looks fine,
Reviewed-by: Christoph Hellwig <hch@lst.de>
--
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/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index 965b070..2f8ab5c 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -1534,6 +1534,15 @@ static int srp_map_idb(struct srp_rdma_ch *ch, struct srp_request *req, return 0; } +/** + * srp_map_data() - map SCSI data buffer onto an SRP request + * @scmnd: SCSI command to map + * @ch: SRP RDMA channel + * @req: SRP request + * + * Returns the length in bytes of the SRP_CMD IU or a negative value if + * mapping failed. + */ static int srp_map_data(struct scsi_cmnd *scmnd, struct srp_rdma_ch *ch, struct srp_request *req) {