Message ID | 20170620181549.24903-6-bart.vanassche@wdc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-block-owner@kernel.org> 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 79D18600C5 for <patchwork-linux-block@patchwork.kernel.org>; Tue, 20 Jun 2017 18:43:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78A08206AC for <patchwork-linux-block@patchwork.kernel.org>; Tue, 20 Jun 2017 18:43:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D35523B34; Tue, 20 Jun 2017 18:43:48 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI 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 886A728435 for <patchwork-linux-block@patchwork.kernel.org>; Tue, 20 Jun 2017 18:43:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751106AbdFTSnq (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Tue, 20 Jun 2017 14:43:46 -0400 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:55003 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751128AbdFTSno (ORCPT <rfc822;linux-block@vger.kernel.org>); Tue, 20 Jun 2017 14:43:44 -0400 X-IronPort-AV: E=Sophos;i="5.39,364,1493654400"; d="scan'208";a="27857700" Received: from mail-co1nam03lp0016.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([216.32.181.16]) by ob1.hgst.iphmx.com with ESMTP; 21 Jun 2017 02:16:01 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=JBPo4ZlTowq9Dxci04p9NbziANUH2e1qrUhmdsjy+hg=; b=T9d8QoDBPY8B/2a1dCUh4WV+eryqWU11hQPCC0KJ7gbz4pzJB3CyYMlj5pV5mRuB7wb/OZLShI6SRC9qOqSkbbwz7u/S90B/22Ttd1XZCv/3V0aQnTolN6+H1Y3CQxgj6ZzVkwRyOi/x8MKO1EhyO3Go9uvdOlDx9tCUTrQYGqA= Received: from BN3PR04CA0034.namprd04.prod.outlook.com (10.166.70.172) by BN1PR04MB550.namprd04.prod.outlook.com (10.141.65.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Tue, 20 Jun 2017 18:15:59 +0000 Received: from SN1NAM04FT021.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4c::202) by BN3PR04CA0034.outlook.office365.com (2a01:111:e400:7a4f::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15 via Frontend Transport; Tue, 20 Jun 2017 18:15:59 +0000 Authentication-Results: spf=fail (sender IP is 63.163.107.225) smtp.mailfrom=wdc.com; kernel.dk; dkim=none (message not signed) header.d=none; kernel.dk; dmarc=none action=none header.from=wdc.com; Received-SPF: Fail (protection.outlook.com: domain of wdc.com does not designate 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 SN1NAM04FT021.mail.protection.outlook.com (10.152.88.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1178.14 via Frontend Transport; Tue, 20 Jun 2017 18:15:58 +0000 Received: from MILHUBIP04.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 05.50.03809.D5669495; Tue, 20 Jun 2017 11:15:57 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Tue, 20 Jun 2017 11:15:13 -0700 X-AuditID: 0ac94371-10e5898000000ee1-57-5949665d8cb3 Received: from exp-402881.sandisk.com.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 72.5D.11415.85669495; Tue, 20 Jun 2017 11:15:52 -0700 (PDT) From: Bart Van Assche <bart.vanassche@wdc.com> To: Jens Axboe <axboe@kernel.dk> CC: <linux-block@vger.kernel.org>, Christoph Hellwig <hch@lst.de>, "Bart Van Assche" <bart.vanassche@wdc.com>, Bart Van Assche <bart.vanassche@sandisk.com> Subject: [PATCH v5 05/12] block: Change argument type of scsi_req_init() Date: Tue, 20 Jun 2017 11:15:42 -0700 Message-ID: <20170620181549.24903-6-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170620181549.24903-1-bart.vanassche@wdc.com> References: <20170620181549.24903-1-bart.vanassche@wdc.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDLMWRmVeSWpSXmKPExsXCddJ5kW5smmekwaklChar7/azWaxcfZTJ Yu8tbQdmj8tnSz1232xg8/i8SS6AOYrLJiU1J7MstUjfLoEr41nfDsaCxRIVB8/9ZGpg3CfS xcjJISFgIvFqx3vGLkYuDiGBpUwSv3ccZ4dwtjFKTHn5jwmman33HKjEckaJCUsvMIIk2AT0 JE7N2wdWJCKgINHzeyUbSBGzwHxGidXnjrOBJIQFPCQuvDjJDmKzCK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RYijMS DbWYi4oTAQc/ObG4AQAA MIME-Version: 1.0 Content-Type: text/plain 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:(10019020)(6009001)(39860400002)(39850400002)(39450400003)(39400400002)(39410400002)(39840400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(8676002)(107886003)(305945005)(2950100002)(6666003)(54906002)(53936002)(189998001)(356003)(105606002)(47776003)(50986999)(50226002)(6916009)(106466001)(8936002)(81166006)(72206003)(5003940100001)(76176999)(1076002)(38730400002)(2906002)(5660300001)(478600001)(85426001)(36756003)(77096006)(33646002)(575784001)(86362001)(110136004)(4326008)(50466002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR04MB550; H:milsmgep14.sandisk.com; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM04FT021; 1:2ToO3ZFy3TAG50k6N4u9SrmhaEpDqlN23WgX9fB1vhVYmKrArApVRXed7UUfkgNIa8wWhcboxpXAiA4HxD3trIqjGsZKRX2b6BWrfGLO+e9KqP/1FYvHHU3SxdXWrc9wVkJU3TlIbD76TUFbKb0LZ2AglxWPvyGsUhGDKEDKxgPhhxeoCsl6MAiWEuyZpXj+LniGAu0MMOPJqVlsq2o8XWHfH59KrqpBANmzETFthipXxzSA5N7OoFNraxoHlS/mc/XB5sNkLpjuMHUjG6Jobfbct39bKM/hDg1lyXOfSGZt0sD0cEhVZqikcAcguIaL/mRnW3bHdpLbYBU+5+ZbI1whW4w4jpW4kBkQSR1eXf7jotLY9qtW+9otLuGUKQSK7JpD5EgtH9afYMnkbeAZ6APCx0xiL6+lS5L68VKaLUdWmglJWvFQ7/sF6RVhDrAATsPy/19d8n2L+VFpuBzs2NlgQhSSzDFpYqq3SF5glxWKkHLMvXxbkGf6v3vEcFOra+jL4Ml8NEQEfV2jwpIK0vOdidbTbplG8Lp+UdmBy1dvVuJToi0MADV4hH+VmAqkTXNvyLFoWJifUS//ycaX/KWPFspR6g3TyatkFdCIHvSeAYtNxgsRy/0zIru/oYmn3U1Nnf77jCq8fCx0rgKqAS7SJqkB0qVSr74lOQz6wvwCxuQqPqB/ZmaXnlWoTLSYy7gNY1rW6TE4BWeBHWqyuZaAw1QhYgEDZIH90p/F3ObGA60tmY+XQyI5tVcb7PF0hXeM08aQ5fBm84MMNsZsq697H8oELuTWOGlkgzUl1h1RKINK2J/Xm90/K4vTzZbET4nkIVnC7/M8ASGTjWqSppY6dQY5JQXIU9LdouKHFeaQ83djJCjGEcynUVaMuF9M X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN1PR04MB550: X-MS-Office365-Filtering-Correlation-Id: 03c3320e-d0aa-43af-56e4-08d4b80866a5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:BN1PR04MB550; X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB550; 3:ziJMjJAabEjun5eBHyuG703a9yiZb7Xn6ixd7D4M6iirqlWyLJVzHNEtoh8StYIMGmsftyFIxRADzDjkoNcmkgE+jsiQxVAh6rnv/8HAMTGWk0CAxY2GwdCVrGfr8xZk1LMhYzxoHfo7Qu5a8Y72jbY2rmMP7I/RKXLSqP2rJaWLvPKuGHoqavKAcrFh8PnFPYTXEe9PdYO6Ql8y0M+tyGZdtr69KgeI1f+u//8IZ5i/wc3+n1qs4Wby5C7ZkOpoeixtu1cv4wIdAtWQHDUIALyGaHccasY/nUi6zRtLPlvbTig2akPjgdGHDENWj23vw8WpYBud4qRyTHFQiC2fwG6zI7MhoNyGeY5z01G9dQDheV4B37tKSBWs4Hq2fXpnsguvmEHnzSRIG16MK85k0hfRGW+fnj8x2o6fSQv3SEpochk+83kgJBRde2zBtBNkSvt6b4E8mgMcd2y/opH6iwzI/pn/wmjXrr8eTwsep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EQEDqCDDFGIVYK6/dAWaYBxOKGIoMbUN/TvMdXnsOnAEmYf4SS6iny3vcK1vFBpGVmnTSqrtk/wh3YLa7Gxx/uiokVKZNtwQxH4B0WaPQNLlyPiHJrXTGf5mAvBdnhWGa3xEXZNgqW3lIiN4SrsfLOF/JLYxDhhyJlk+KU/LbUZPbOO+y3PpDyYnCWdJS8i0O5CQ+DeUzOKAjZTA4OVVeEjJdRdnsdW+IF5/WErAnfFeZ/aczd1H/sqIE2NQQ5DTLChMvzuze6C+Bb863yM0vPQMQ0cY0KdHqF6LUOSM6Mid6E X-Microsoft-Antispam-PRVS: <BN1PR04MB550B276F945D4A0E30722D298C50@BN1PR04MB550.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(146099531331640)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93003095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN1PR04MB550; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN1PR04MB550; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR04MB550; 4:3o6nRIjPMTu2UGiRCOEHmraH46Xr1OR4G9mKBiPn+bk?= =?us-ascii?Q?UDPmfdj12DwtOj6p6CELejqHwfVet11O+ajFh1mclnjszVa0B0/IZO1IjJH8?= =?us-ascii?Q?zuoceVkYBSWTkYkvtWfSThHR7n/k8DxVd76NNw5OKpPSfCOYjBJcIU3WaaGL?= =?us-ascii?Q?eFD6iH2iGR42RtKMH473j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us-ascii?Q?tdCahRpnlP3LfEj2547BpRDsl36hmiSQpX8NSu75wHq7J+vtbjQvjieygrOC?= =?us-ascii?Q?21GazemwdiI1LgfNGCeTUuL7Gpis5Nr2Z9j5+ONzm4sNesTvwBR+cniUEXxn?= =?us-ascii?Q?q1b3FKh0TfdUgFWEC72mD+4vNYRy7uHpcrr6xFnc/my9hmoOCofw+6kXLO1V?= =?us-ascii?Q?iMBNEI025qy2einJVV2HOWLWnwkSQYPD+IR60J5PK2O4CurHTfvY0Iydq5w?= =?us-ascii?Q?=3D=3D?= X-Forefront-PRVS: 03449D5DD1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR04MB550; 23:iKvAoBvkbPxcZH0wyLbzJk8nkxUIt/FdkKRchZooZP?= =?us-ascii?Q?MYXUGkXhF4vXY1EVA3HR0kxY6+e6d86v18lRI1AxwHT9LrErLNNvwpDZiySv?= =?us-ascii?Q?y9S7mPycAJjiVD6MgVXsbrxQa2Jiw1gBKqqRdNUujxPDplHpaxTZAv7/jIYd?= =?us-ascii?Q?veSuCvvn0jVIdq+31hv3mjLijtic6bE7UAFbatCaJEkpD/1/tBNRBM9MfLgw?= =?us-ascii?Q?vH78yjCSppuFgv1CswptHQ117TtjaKv1iObcKmorVjGuO9ODkKmneTTi3SvA?= =?us-ascii?Q?UqesnogKeHnfBAELvMRk9+h4mmYHXNVnrcBsJmflWjHUGuvR+CkvEwb8FVGt?= =?us-ascii?Q?OzHO33aKUigxnsxw06f2t15huSQkrMp6zCvZ2o0aLwGbVtc0p5oVKgVQ83tU?= =?us-ascii?Q?k5FyhWQ3W/8g1HuEBB8XCVwyn/hRKn6UJpX0wvMR4EE1vVm44SD2KgtF4MhN?= =?us-ascii?Q?LOAnzC5V/1i9NeMnhfbniQa0NZB14jBDVWfMeKYn+u2FOxL94p2Rx0JV7i0U?= =?us-ascii?Q?e4QAPtKAB0NK7bfHt+19KnAiYYIeThlqvn1G1z44W5QK85EYBIFf+SMS8QIE?= =?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B9idZjQL3rLk7xvhMM41?= =?us-ascii?Q?I2Qz20j3ODkh8xqhRHpf8INp+5Nz2TeAOJ+1qrz36kuIpp32Ih4WmENvaCem?= =?us-ascii?Q?6AlhA18tWLqAvPVGNWcepNkd9HIXsJhyISE3aQO5Is6Uryznn5YLV3qvVaoU?= =?us-ascii?Q?U3GZ+fJrJ/ugXl1cDDiG8VYzHhTCc4WqP1fqcaJmgAETmT06fovdDCoQhzMY?= =?us-ascii?Q?TfZKFGRHJCmJMlflhGaNNP09LKk8hWN2rHmg6TH3jwp36lU28bqoMFoXZvHP?= =?us-ascii?Q?zQ/tpTeSd0gcIPhXcuXj2nFQLYkbpkXGx1OLeA++spJmtkc+DnsrM4LYeiaN?= =?us-ascii?Q?2r9XvElp52VsCb68erzdmINYYARfpsT5a1YWKDsA6S8qpnc+xHKxhuiRjN1o?= =?us-ascii?Q?wWI66aNO9MzF3///YqRpV13c/J83Waas2o9BiQfPDS6NLF1iU5CAZZml1scx?= =?us-ascii?Q?GmUOvi+iyzoy0BR24jfOlDvXtdAhcMPPrGh9G0SUCTApCJO6t6SLVpPUfdYP?= =?us-ascii?Q?aX4izjbAwhqIvf6DJ8xqi17ewQcJNS6s6zYIVeI+C5HUHjmC8+dFV2+3Y5Xp?= =?us-ascii?Q?BBaEyD2eY2S4LVlURDiyCec4f1NjM30+ZYqGBZwilvPlDfTnKWYuf/pCRHsm?= =?us-ascii?Q?50L5gAs15CkbydU7HJQDgEtOD2SgnbiPnfEKtgu7VOPFsYEJnWyfvqOpIvCJ?= =?us-ascii?Q?EG5gfwyBySpCLbkkd95y0zB2zCEjSFDQOAJ50i/vrvKQaVzeSBpsBlXj19vb?= =?us-ascii?Q?0akHTYnsxb1r2N5LPSLMI9cevt2CD53yZ2udmZp9x+peqDQL5WrAca7I9Shq?= =?us-ascii?Q?NuotrMI1kNIldDXleXUqc?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB550; 5:5pxBAhAQ44j3OH8zr8hgpEbAJ5O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sJUStaSVXsLWEoZmsKI2rt4P0du2k29BEz0A75zBxOdqzr5BtU8cR4OA0zGo8zDqAO2mfS74dA4FqqS7QQsmhG9ji/epFVs1p72HAJCgFN+TOL7S9WbwEVAQcsKjKIrYVexX+L9wovASZy2CPo1sp39ytUKc1viwlCeaOY7qlEWGYR/pWpuRp8mabTVDqXodkbHwvWld/H6Zr7vVgzsc7AKg6RWBm4BokTs/RJeiuJwplI5yBDkNjvxdXAkosnleB/pC/G1yBxlbTabng6CvAh1k+pDTLcVTVvYr5AbV18nqRCue/aK3muqTHN0uvRa2yWNmo9MZCx80Z2kjAzwGFV1YIu5h1zF33k6V9xEY8uRf3nfv7/RxMRtB5iCtRp08VzZ89NCCbjMlQdtPeG+QHUDXD0Iv0= X-Microsoft-Exchange-Diagnostics: 1; BN1PR04MB550; 20:NNCK9F7Gpz9wI1kkZAxls3hZ3kFcoWYvwZ+DzRYZhy2nzhfb9R5JPp8Ix/TKRulem95QC/K9i9wn6n7S441CjTQA7YpVKQEuOcgHasRFBaHN3FTVeKH3qZ9hwXQZITWsv3e8blv/norsjoxx8HKcv2uMaA8tnNq9UXYe3THBWkc= X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2017 18:15:58.4318 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR04MB550 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c index f96c51f5df40..7440de44dd85 100644 --- a/block/scsi_ioctl.c +++ b/block/scsi_ioctl.c @@ -741,10 +741,14 @@ int scsi_cmd_blk_ioctl(struct block_device *bd, fmode_t mode, } EXPORT_SYMBOL(scsi_cmd_blk_ioctl); -void scsi_req_init(struct request *rq) +/** + * scsi_req_init - initialize certain fields of a scsi_request structure + * @req: Pointer to a scsi_request structure. + * Initializes .__cmd[], .cmd, .cmd_len and .sense_len but no other members + * of struct scsi_request. + */ +void scsi_req_init(struct scsi_request *req) { - struct scsi_request *req = scsi_req(rq); - memset(req->__cmd, 0, sizeof(req->__cmd)); req->cmd = req->__cmd; req->cmd_len = BLK_MAX_CDB; diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c index 37f61acf5a35..14d1e7d9a1d6 100644 --- a/drivers/ide/ide-atapi.c +++ b/drivers/ide/ide-atapi.c @@ -199,7 +199,7 @@ void ide_prep_sense(ide_drive_t *drive, struct request *rq) memset(sense, 0, sizeof(*sense)); blk_rq_init(rq->q, sense_rq); - scsi_req_init(sense_rq); + scsi_req_init(req); err = blk_rq_map_kern(drive->queue, sense_rq, sense, sense_len, GFP_NOIO); diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index c60e5ffc9231..01b2adfd8226 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -745,7 +745,7 @@ static void ide_initialize_rq(struct request *rq) { struct ide_request *req = blk_mq_rq_to_pdu(rq); - scsi_req_init(rq); + scsi_req_init(&req->sreq); req->sreq.sense = req->sense; } diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 301a7f706c9a..550e29f903b7 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1123,7 +1123,9 @@ EXPORT_SYMBOL(scsi_init_io); */ void scsi_initialize_rq(struct request *rq) { - scsi_req_init(rq); + struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(rq); + + scsi_req_init(&cmd->req); } EXPORT_SYMBOL(scsi_initialize_rq); diff --git a/include/scsi/scsi_request.h b/include/scsi/scsi_request.h index f0c76f9dc285..e0afa445ee4e 100644 --- a/include/scsi/scsi_request.h +++ b/include/scsi/scsi_request.h @@ -27,6 +27,6 @@ static inline void scsi_req_free_cmd(struct scsi_request *req) kfree(req->cmd); } -void scsi_req_init(struct request *); +void scsi_req_init(struct scsi_request *req); #endif /* _SCSI_SCSI_REQUEST_H */