From patchwork Mon Sep 26 19:57:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9351247 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BC6F9601C2 for ; Mon, 26 Sep 2016 19:57:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEB5D28DE8 for ; Mon, 26 Sep 2016 19:57:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A382C28E2F; Mon, 26 Sep 2016 19:57:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10FE728DE8 for ; Mon, 26 Sep 2016 19:57:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034714AbcIZT5T (ORCPT ); Mon, 26 Sep 2016 15:57:19 -0400 Received: from mail-sn1nam02on0075.outbound.protection.outlook.com ([104.47.36.75]:55120 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1033024AbcIZT5R (ORCPT ); Mon, 26 Sep 2016 15:57:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=GBqzwLD+U009oyzq5gaWn5PRqcxn3aYexDfP7pVS7CE=; b=FuR6YU/+gTyB8tSgiepjGysRhF8TKgPlWwH5U/WehidLBpA0ikU5X9+oSfi+0yeE1KwBFL7b5ByK2slysyfkg5lEdtPz0bNp+rplcZAC0Ch5ryo3FDOwT+zHAsom9/ERPvQln239hLP9TpiGRe1Q8TDEWw/jaIAsZA+niuKRrCY= Received: from BY2PR02CA0076.namprd02.prod.outlook.com (10.242.32.34) by BL2PR02MB2129.namprd02.prod.outlook.com (10.167.97.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5; Mon, 26 Sep 2016 19:57:13 +0000 Received: from BY2FFO11FD023.protection.gbl (2a01:111:f400:7c0c::194) by BY2PR02CA0076.outlook.office365.com (2a01:111:e400:2c2a::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5 via Frontend Transport; Mon, 26 Sep 2016 19:57:13 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; 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 BY2FFO11FD023.mail.protection.outlook.com (10.1.15.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.5 via Frontend Transport; Mon, 26 Sep 2016 19:57:12 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 2B.60.61581.09B79E75; Mon, 26 Sep 2016 12:48:32 -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.301.0; Mon, 26 Sep 2016 12:57:10 -0700 X-AuditID: 0ac94371-952c29800000f08d-db-57e97b902c2c Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 8A.4F.02783.69D79E75; Mon, 26 Sep 2016 12:57:10 -0700 (PDT) Subject: [PATCH 1/2] IB/srp: Remove an unused argument To: Doug Ledford References: CC: Alex Estrin , "linux-rdma@vger.kernel.org" From: Bart Van Assche Message-ID: <3aa07053-fc94-6ea7-83bc-0b12711c3161@sandisk.com> Date: Mon, 26 Sep 2016 12:57:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsXCddJ5ke6E6pfhBt2zrC0uPP3OZPHy/AdW i2eHelkcmD0W73nJ5PF+31U2j8+b5AKYo7hsUlJzMstSi/TtErgy9ne8ZC/YxFFx/dJKlgbG b2xdjJwcEgImErtObWLvYuTiEBJYyiTx5tMNVghnB6PEimcrGWGqNp+YygJiA1UxSjy6WAxi CwuYScw+eJ8dxBYRUJPY9GoRkM0BVGMnceqyCYjJLJAi8bOlBKSCTcBI4tv7mWBTeIEqeqau AutkEVCVeLF1NZgtKhAhcethB1SNoMTJmU/AbE4Be4l9PUfYIEZqSqzfpQ8SZhaQl9j+dg4z yMUSApNYJbaeucwGcaW6xMkl85kmMArPQjJqFkL7LCTtCxiZVzGK5WbmFOempxYYmugVJ+al ZBZn6yXn525ihIR74Q7G17e9DzEKcDAq8fBalL8MF2JNLCuuzD3EKMHBrCTCe6MSKMSbklhZ lVqUH19UmpNafIhRmoNFSZz3YvTHMCGB9MSS1OzU1ILUIpgsEwenVAPj2v6QywxujlNYjfiv znwdJ7GIkdN/4ue02tz8Ro89O1k+uSvPjbz5w0A7wzK4zX9ta7vM3DjnR30lG80XHTESFHnI 0mWdrLTK8cl3pfkbC9/8d1LdahOvuq7UKcT7wFv9wgebDtx1zS39rRRdPt+vP2vXpGJ2D8fg SRpfL+gJ+XRvS2yqPq/EUpyRaKjFXFScCADzR8QncwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBJMWRmVeSWpSXmKPExsXCtZEjRXda7ctwg0X/RC0uPP3OZPHy/AdW i2eHelkcmD0W73nJ5PF+31U2j8+b5AKYo7hsUlJzMstSi/TtErgy9ne8ZC/YxFFx/dJKlgbG b2xdjJwcEgImEptPTGUBsYUEFjNKrF8rBmILC5hJzD54nx3EFhFQk9j0ahGQzQFUYydx6rIJ SJhZIEXi6tspjCA2m4CRxLf3M8HG8AKV9ExdBdbKIqAq8WLrajBbVCBC4tbDDqgaQYmTM5+A 2ZwC9hL7eo6wQcxUl/gz7xIzhC0vsf3tHOYJjHyzkLTMQlI2C0nZAkbmVYxiuZk5xbnpmQWG hnrFiXkpmcXZesn5uZsYwWHHGbmD8elE80OMTBycUg2MTsJ+dzSVWUuTE+KnXvsy44R+7kqn jvX6/sL2d051sNW9M9a+v/ZmtciZO4nLfuU88edSWiX/XyQt21y2vibrd0W8641KqRVT07oi NZqy1tp4cgZZXumcvqCjwOrryUx1j8dHvph8rKr6XarwyOaj3y91tju7Ll5oVim0Mr1aKnA4 bF3ysbtKLMUZiYZazEXFiQCWPCjn6wEAAA== X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(53416004)(77096005)(31696002)(4326007)(69596002)(2270400002)(586003)(81156014)(81166006)(106466001)(626004)(36756003)(92566002)(76176999)(23676002)(50986999)(54356999)(6916009)(8676002)(189998001)(33646002)(2950100002)(31686004)(65806001)(305945005)(2906002)(4001350100001)(5660300001)(87936001)(356003)(83506001)(19580395003)(97736004)(19580405001)(7846002)(65956001)(229853001)(64126003)(65826007)(8936002)(47776003)(110136003)(11100500001)(86362001)(50466002)(68736007)(230700001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR02MB2129; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD023; 1:PJzGPh3QghhL4YIkipYQNuex/JOyF8gY0JyxLVxYjTYQLJfS0ayP7Xa53awqYl5zAG13i6Hv1ITWbo9/6EsbGR7Qjiumxi06RWRlbjKHpCmL0P/rzTPAJB9d4LZo20E0jkQYJG4xbXl1eGzPg2RJLezYeKlTrWjyNTYPlUYLAYJ0qsGvDO6zDepOBuJlY3k5DzcunR9Tw38NYKP9u59BIB3LZ8g9g9tAtzxQwdQVQGPBlwPkFHIsALyL1PPUGR23WJjQoqFl35k044fAP/lLeDxSZ94fNQH6itaPPXKsvmrcgBjk1ldUg5yKLkD6zZOLpK0VBhWxMviDgjK8Ig43cjnGYkDrVdxUMoLekgLWT0JzqGYN8iCCtjdrojnP2dLosAlv9JbWbSiRBB9bZfZUa8/4vz4wgbx+0gAWMsYgM0OOUosEjR+Stn3Sr2PZqVwgcCarykrYBD/yyHlES3MRH4W3TXQb5hYPrqYVO5n0MnU8+rcrzP0olME3nc/6gb3MI+Eobu/9XBfAO9Utsm2Uvp3dp10dmjjPZg8NhVZ9ce3XpetLGztD3BPQqvMOG5dJ X-MS-Office365-Filtering-Correlation-Id: 7811762c-e053-4019-66e8-08d3e6474ed3 X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB2129; 2:KuG0+o941/QIrVK0TdHKP5oWep50ljb/qo+zxcdheSotU5vNH8exgR64xUvzZjcAhuVkdAEgEoEIA1jbl80c2r2og1QKhOYwnUcx6P98gqKGwBvAjm23i/Wpy0pMYjtmuwhPCQJJjOK29LJ9UNHtcUlWKY0ufmlNcUZ+sSlxmU3NOAYMQZEedzALHjSmI354; 3:KYByPZrhOzviuffFiEj53advHhbl462ewj+Np06WlbnBLoFQQxQn8m0d05SssofOqgXCMRa2DGRQBN6244ORwxDj0Xi8tGSDnUjdxyQp4QTVGRx8nkUOmcQNusKUw/zJdcjPyWxn/r9+bzsM7ob1KCLG5yjUbv49YG7/Oj+uL6qaCoHN2uIuTZ8nECIDVkxAwe+0coRYE1/RrfQb/HS2KbHm314yDpSIA8HD3ayyC8Sngb/8piHa33mWV0XDA5Ve06tzcmDq2dGcUwqpPmZyuQ==; 25:i5p7pRXg/vn7yizaFuNLvm2rLrJTGLJuWW6RpQUYxBA84KxmNJmDqG+Z7sJpL3v/YauDlKSto+saDyhKuF3njKxxODs2t6IAR67VyMdWuQB4aYJrJG0Kpkp1KQkipDLfITvTM7FToda7VlKdubbX+8U9+J2d6ADgVnikJaOmVooqxUd5DsHC5h2cgphuC6yXJB/LETD9qcXLcuE+TrRY4fcgq4CiNnoNKxPMfLTcWDlP+rFuUzw4181PTgBB08k5ciSRwDzUsDYw6uYVO0Cyunec1AZ3P3+RH1lYu4qpGcJzOwnAYAL54hriZm01SSaSpPmCsr4E1tEoIKfT94wJlaGk/UrdIXX2uo8WDbiw+x0mh3IIABTlxBlRtqY/dzn6ubThjyce/smvr8//fb8oV6Xv0YJaMOrTVAOtqW6ql9Q= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:BL2PR02MB2129; X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB2129; 31:oLHvpBtN/kiw15PAhEDEm/1GSQfJClpxR63nU8HR40JTLlW/nTJgn7rWOrad0GDqZ3e6lCmYauVGKBWz4HwMaqv2ciohFBH40WTJ6qimxtCtBHGA5SJ/zCRiy83aDVdlnl7GOlestyuMyMCnT06ghLr65VtWr346eGGugwHJS2yzgYx29Ir6BH/fV3XhnKIujSh6W6qHhMHNNdR7/K+TGuiK/UpkYkf69VRDkjI439I=; 20:qMkc8Q0bs1XnX3OT8QdNprYCZ0IVeWHaxiWZXXiof9A5mR+XeXJNjvEeJdz5LDgrduyVbFPRBf5wS2tJDHv3CQBkm6921qczZuRelWAx+iQC3ZAtqlwGpv6rNgUb8WILv/YI64dNA62qjRVxyhdMOZY/Bgi6MsChcS8G/b9eL5AN8vshlbcL69tjJpCqW8UuMUGQHuQFu/i65bRjIuz2F7HyPpNVQ4Ds+XQvfekBjsF6NBrGHjJL2kGi7hqxFmGQJA3BFaY3wN9TisCFMfv8qREPMBd3cmY2kKTb6f73s1Mne6+a652GZ/MixN7rjwAr6S+UDb9SfOzSqx+SHbxkjdzzsyEJzInmALCqq+ksScQzrKghTv4tA9es1IFAVHQ/TXDfurIPzjMiS8xuVQhp8gwZ7a2Q7kGRULJVTTZKaiXgJX7IMS60Z9hoC3fWlk9qxkC/sOdBgtrMlU2r9YlWK3Q87gHpfYIVW1jxb+Et7bsnyfY5nQs3kzNAGU6oU5Pc X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BL2PR02MB2129; BCL:0; PCL:0; RULEID:; SRVR:BL2PR02MB2129; X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB2129; 4:3i9JF9qi26p+Kc0FUBr5WrvvYF4q0ANs2xjeaZlYNaaZedTxK6zqyfPLlX3VdA2SXXXLSMsDXLflGTf28vNELynTTereYTCK7Edxt90p26/iId6VOSU+6m7psRbPIa85/mVJig5CjIkgFm82MKkeRoUDnXoTB0jd+dZzHrrrmbg58Y9M4pz/fmcwH4KlO41qYnACpAYe+0+9zFnhV+CVYPHqL6FMrCtHh3n6fHzmKWpRGf9Ghi+6FiRo7gbf3qvsCGTdx6stWASh039zVYl+kMTsTwxmeP1vSc+LVj521kkcpC0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id3yXWKM4vw/uL1LoIKUDhwlcT6Gnl/Y76bXngl5NEcWl0KcTmTLIT6IU1YSgGE6+gPogClTOsosxOsoS+c/zK SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BL2PR02MB2129; 20:IuMJ52tJR1BOT3gFCa9BlGbSeaU7Ddic11x8/EU9hYWqWrFIcMJy7vEb5NbULEqIKJnr1Ea8YpCFbQK4S/0nii1BneL9uAwyh69cafUf5+3F80x2wkJ15ES08+u1GFmyHFGFabagGGMrj3LXPwTSK8XDGaiLteJxbjG5hSLQ9wpv35FsFpiDcb7dcUvU0qIfsrDPeqSGU7MORYvIQqx1WaF5uFKyi9skblwe9jnXZBQyaDfAoN6LqRZFXY+be6W5 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2016 19:57:12.8603 (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: BL2PR02MB2129 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Bart Van Assche --- drivers/infiniband/ulp/srp/ib_srp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index 513f2ec..06bb7a9 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -1402,7 +1402,7 @@ static int srp_map_finish_fr(struct srp_map_state *state, static int srp_map_sg_entry(struct srp_map_state *state, struct srp_rdma_ch *ch, - struct scatterlist *sg, int sg_index) + struct scatterlist *sg) { struct srp_target_port *target = ch->target; struct srp_device *dev = target->srp_host->srp_dev; @@ -1455,7 +1455,7 @@ static int srp_map_sg_fmr(struct srp_map_state *state, struct srp_rdma_ch *ch, state->fmr.end = req->fmr_list + ch->target->mr_per_cmd; for_each_sg(scat, sg, count, i) { - ret = srp_map_sg_entry(state, ch, sg, i); + ret = srp_map_sg_entry(state, ch, sg); if (ret) return ret; }