Message ID | 20170502174503.13277-1-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <linux-scsi-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 A8CEB6021C for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 2 May 2017 17:45:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D67F2842E for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 2 May 2017 17:45:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 920FE284D5; Tue, 2 May 2017 17:45:16 +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 EFD142842E for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 2 May 2017 17:45:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751362AbdEBRpP (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Tue, 2 May 2017 13:45:15 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:12251 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751064AbdEBRpN (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Tue, 2 May 2017 13:45:13 -0400 X-IronPort-AV: E=Sophos;i="5.37,405,1488816000"; d="scan'208";a="15611025" Received: from mail-cys01nam02lp0049.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) ([207.46.163.49]) by ob1.hgst.iphmx.com with ESMTP; 03 May 2017 01:45:13 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=pvyziFDH1jJ7gggvFxeoMFntg+qObYy5s27JpnrMFxo=; b=oBE1Mbu2yy75Au3pgN/Ro2UY2lXv2vy7tSAZPPH27ay7FI9yXbxpLjcj4T/8UMMkaRgDJ6CxiJClTUZatdr/bZxbhvbshoKjBnz6B5EXZ8qRO5Nr25+uac0XZXAZRlaZGPWzdD7tJn5QdM9mIZrg9YSYjP+XE9DGrVtbBwvUJZ4= Received: from CY1PR04CA0032.namprd04.prod.outlook.com (10.166.187.42) by BLUPR0401MB1540.namprd04.prod.outlook.com (10.163.83.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Tue, 2 May 2017 17:45:09 +0000 Received: from CO1NAM04FT046.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::209) by CY1PR04CA0032.outlook.office365.com (2a01:111:e400:c5a5::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12 via Frontend Transport; Tue, 2 May 2017 17:45:08 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; oracle.com; dkim=none (message not signed) header.d=none;oracle.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 CO1NAM04FT046.mail.protection.outlook.com (10.152.91.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1047.9 via Frontend Transport; Tue, 2 May 2017 17:45:07 +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 37.C7.19026.3A5C8095; Tue, 2 May 2017 10:45:07 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Tue, 2 May 2017 10:45:05 -0700 X-AuditID: 0ac94371-41ba798000004a52-e9-5908c5a3a7a4 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id AC.A9.18148.F95C8095; Tue, 2 May 2017 10:45:05 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: "Martin K . Petersen" <martin.petersen@oracle.com>, James Bottomley <James.Bottomley@HansenPartnership.com> CC: <linux-scsi@vger.kernel.org>, Bart Van Assche <bart.vanassche@sandisk.com>, Christoph Hellwig <hch@lst.de>, Hannes Reinecke <hare@suse.com>, Johannes Thumshirn <jthumshirn@suse.de> Subject: [PATCH] scsi_lib: Add #include <scsi/scsi_transport.h> Date: Tue, 2 May 2017 10:45:03 -0700 Message-ID: <20170502174503.13277-1-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsXCddJ5ke7ioxyRBg/XqFkseLOXzWLl6qNM Fhv7OSwed81gtei+voPNYvnxf0wObB7TJp1i89h9s4HN4+PTWywe67dcZfHYfLra4/MmuQC2 KC6blNSczLLUIn27BK6M0zf2sxZcZ6vYuf8LWwPjHdYuRg4OCQETiRW7k7oYuTiEBJYySezb NIcdwtnOKLH09hqWLkZOsKIHV7tZIRIbGSV23trACJJgEz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spP2rZgwfENX+osVedz7Rdx3nklW3uprPwBJZbi jERDLeai4kQATYpKZLMBAAA= 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)(39450400003)(39410400002)(39840400002)(39860400002)(39850400002)(39400400002)(2980300002)(438002)(189002)(199003)(9170700003)(50986999)(1076002)(5660300001)(305945005)(77096006)(356003)(50466002)(81166006)(508600001)(8936002)(50226002)(86362001)(8676002)(33646002)(4326008)(53936002)(54906002)(2906002)(38730400002)(36756003)(48376002)(189998001)(5003940100001)(47776003); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0401MB1540; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT046; 1:m8IF+giLIsbXPj66JOZIXZCvexPEEZzfx7xlXU/59WttsiB1tFSh+lacAiLpszyv0zvNLQZ97qdOaFH5u3ZK7QC76kYVz5xXRYBkrVmlPl+G3uTB0XpvPtOX8jIJsWiHytNX80HLETEekMSAjxeaZuBgJWx84cyONBSDAhfksPZNatRESlnZNC4XY6nNVSlvp3u+LrZECw3CG/dDxJTvi0gT3OtnhS6NG41xCotlskVBUFRwt4E5VtRxEOyRc372D0OnkG6ttxf6g8WGR65dyDko4x2RviqcWa6qLfHMQedPPL0+GikMWZNcKLg1F3aZZRggKdDFP64EaZ+dETEPXWDWyiHFGvNHKjuOyhJbODLy5behtL2mUbBmyn/zUHaRMusyZ5NunRQW7hst4RoVCnwm4Q8R2VQcZ5P3pw8BLH2RlRshffea+ppHh9pSVB9AThh0WW165iHVMVR1VUkj/Hpr7rmcl572GZ1l0d2HssKHf6PvAiLj9DzByNsKEbDb X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 749bf245-e46c-48aa-3d22-08d49182f973 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BLUPR0401MB1540; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1540; 3:SGC84wlOw3z0Y7Q74xpBvFVI9dqUyFcPBdm+azFL9LwY9YB7n5DzEyBP4Czn8G27pwSRMAPdQQp6/XYJX1Z7e+518DHTSg2MpWmX7e4azt11fWBJMCCBcuRpgAA730d6yFzlqaK5BkUsw0KzMC+gVMnjCcUnW41Q92Fb5u27cjM73rJrc0uqcpHi57v9+PCZ1LxQ3HZK60tF/1al/bQPh2FXWm24aSBtC3Pe/RtT2DPBjwo7wFvpc7Kk9+QHx+T9p5pTjmXKp2sYFmHj4R6V1lJdudu7LVgocHxHFhWEKyUqASWIN3pb8o4chAMSUW0RU7wzYenGcy+Xbyabx5KsF1rg9OL+stoLSuqx7vWEXqoZgVCTx0EPdsQ7q7kEzzLwHT2HTeRv//rPdHBFdQrNbFF6Xg+pJ1s+tAX0u8kETDPw5d+rXgufjnOFSBmnaYlUrKi1K84uRwzWmDdqY4A4m5icQ+g+cGxct5Oj7US7iTS5YntZEFtB2DalZTcxJILA X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1540; 25:3DGtPJzhabSPcbG7qkNII0qyo+z+ZF1W7czng6L8fUy+aIijsrajc6O279dQPKRD1lOOm+iTq6Yj/zKYskP/lz46UwORfx5sfOWGglLao8gTZhB0wzpIfNoN2FXn9+pnjQjuQGpakVzPZmc9Sn215mHsjkt2t7yvB+xD0ZcmaJX1vEhFPlVjNJnZcHOYsjq1f0nbkEkanMe11kUrgVWF0ue3vxII4vW+rpd1zIeYu+1/ccbQnz+QSCkzG7T/af2MQBohfTK1AoM4+o7H0TBCXYuVro4dVMLvsp+YbQobIFSISjIwtLMv02gBejlLBYT3U89H3zaCrqJsWii57UzoT8KZHeFP1prG9CndpRoNmpRNO6pqjGXpZBf2qJcnJs3lLQwPb85WTTG88VFI4i1spTQr532yrTW9Ln1aXufkg1Rky+z4syr6arWhWd2hv7C+PI7YnozrxaH31fxlEobAzA==; 31:7/I2L6hLAT2Ps+1AHhmE/KcXS2XBeHkyedtwJTwiHIEDb2g7zqK4bE15dV2XQ6iZjz/1mIhEqyQLsgBvftVJuDbGRN9Z9nSa8MpEKoA9CIC4nr7J/5tddGTHSTgjmnhsIuBvDgGJqHqDl4eL2UekwSIXWWyAWrsLoA/6/KHdiO/YlDcaPbPmSlcrkBuozHaiBqyjpR8dSFDRNYCdfmotfipWfW5rUPTySRfjPJtaFpe05bPJo78TcKcfcNkKLUEygSh4ESiUyl1gZ1Ih99LsVTqnVc7fGAddJRqoqUH9ZSA= WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1540; 20:j3L3HbqXDnAP78eKj3xJY/rXOG2WNCzBNTGFz/HAJPAmsJ7H3veGTmZY/j476rk0ftAZeTWcHorp5mGIj54uzKLELuMijpcubolx1IvnSYUJO5jrJTSSjCducl8olYqgRY5Xlj9hXqQNpCwvU1/1mAAiwWe2cP+g4y61PO7/WPaZPN9l7ru0vK0JBW1tkizTC6ccnf9cT203SsyNXjYzwJQEf9WGTpDvTPuygNVJgjd4EMa8iDt7k6LeMafUBkhcuxLj6O/eDCt6tl9Zv0F+NDribX3IocKeeRqCNXX7gurQOgfHt+Hgy1ZoofgPAlY4sS+kzkWMpJoJbt2LPNWgzPhn1AmxE7kRzyuA1JycAosjVjVx+YvHFrnk73Y+yWZAZUG9yj7nBuYhXSirwyioayqbZUspbI3APoKRXbpXTRJARDqFGwVbBe1cIL0R9RxqZ5iVlynG2867YNb9o0mpmtmtz/iuScEGYmoUtB+y478J12GYsSbsE1q0dx5GGJTb X-Microsoft-Antispam-PRVS: <BLUPR0401MB1540E8EFD7CCF8D6F5F7DB9981170@BLUPR0401MB1540.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123562025)(20161123555025)(20161123564025)(6072148); SRVR:BLUPR0401MB1540; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0401MB1540; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1540; 4:dVPtYXorySdLbqZVpCMeINeD0tADK8cq/nhacdYD4OhwB6MsjAfTZ23u0VW7WuZLZhHOcCLE+DCna9r1+J3/PxZHldFuPWd5MENfJsLXDN+b+T7cc5nDB4YoFylG4TfkGYPEtGQQVUkXiwwk1ZwjcyvU/7T1vNbFqqkF0xye2g+fkXUGHRm+m02UqYHBc0TC6oXDE++h57Vr5lKRWwJiXtVCFngJBmuQarIY4FO/eDnyPev/FCyQV71GInqjQx+U9PFMsrvQYqH32ES5sj+SrBxHoNKD+ovgTYMShj1LCeGCURPzY0uHcxWdrlcPlrS6/6BTmNB7oafvJG7SbLOzYdtsEs/9ppoP6oXPl1Dmhms5NzwnEoPxJSMfn6L9NBmJ66YWmVFGnT28ILWtGb3GNnfPDcbr1lOcY54k7PqcOvWHPMEji3FY/BKHdpxDMPjhZmHPK923FYpohqCVYytCLuzzPofoRqUlhl4dgOoZpQMtNCOyn5C0CH+JiuFbvKLVmCv2eCfrbrJEqGg/3zS4toT4Ohj3XvIVc7pbKG/mCQs3FCMDmzc3aPGxkDZYRu9SXNXp2QmmSkWVu+ex6y8GQ+sQb0Q3IAMLP15MQVzeirQ52cDzC+SZIxZwZosX5k3AxE5LSzs8bCChZX3fC7f315PSzXcn8cZTh/wVsbJTFDn/tij/6RijSe4c2HOJyeCIV/cj4dg8f3VzOezYGhE2YRfBxuzTI5n4YSmPMQ9/amfUPKg8tDjnT4AhdRxJJM9IgWiS5XHr76U7367lj4u6N9JMOJ8qfPese3fq9vemyzyZ8nrEd8VsUDrHZoN5GStO X-Forefront-PRVS: 02951C14DC X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1540; 23:Hc/cU0Wt/qlMzwau7jSY22aRtw/0hL1/ypPhg+lXub/xKeXb2Q83j26zLJLNJYffHDWceYF6In5ZaUVD3hTlUox5w7doxPpSIac/udjQqgf8tb/5hx57crzCudqpXKx4lGETvtc/h8C42XjzYuqgsn//OxLvut2FKHRsCmtMRs1HaNVw6RCoSmZuahDqk5wvUZBYi4xQusj85kgz703ZdA/JQym+3FC7fFbFDgVd/NleQWrpv4Rm8sTakxLz25PmkhyuvGFjUvaJptxRoJqLh9IAxZ+VzP7BBMIp/WzWGOLg3rXf+h+y9LbPYHJUrdTCXg4g5ePEMq+06ticx2prFOjNXdO+NKD0AgZpnpC+DSJ3MFg4GHhl5VejvvOHbGxjGVMHWUeODkY1tHBr/bhna2z11DY3/c6rja0+3ANgY84NZ463VPv/DopI34MGvjl1AYioqTwYdxxS1KsiilOB27T7i7D4VezsPPdafW93hl1x8AmOAwfqVjubUxaH3o7y3HLrv3WB1A+fXIv5BL+Kuff/MrxWNz0SkzojNfDhVHFo1bXbE7T0ytOmievAWF7wZuDyNqpETgSImJwC4j3ltj6500mzkWf1Gfp4MTwLflxPGQfLeC1dG/rGKVbn9LXF3tXhO2R3vC6L8l63ZO/X07ZRKSlsE1YdIDX/RWkUDg6mfSkay47EW91I9acip0301467obTLo+nuLLPMXRstcRi28ycOQRCXySZ/b/z3ezCDIh9LQXvj7dtsYPWe40ULtocDYZViQPe5vZ/Mwlhqs+qfRFgSPzRLTTxGluTF6zgUaoIy715mEO/tlebP9+H/KJ6kCPimm7wem8WOpHe8tHuUDgUR3Y7XOjvjRYueYzGgbHrnGTU5n5Ox9t/T0viVJh89ZS5jgOevDuTyePSS33cpv3j2nchYaRCoPSy ZvMrp3DwQb+sbJ6h00oE3+Je4 X-Microsoft-Exchange-Diagnostics: 1; BLUPR0401MB1540; 6:L+dde9mpzIFWNgjkMyZcc92F5FXTyO2Vw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DJSeI9Jb6WGIcSm9ltjtOX2kPhQEwv2CtxM0AK2y9mFJ3HwuRWCXS5RGoV+eTDKvDV9gpb6qqMybYFt0G8Cfoi90ZuIq5Ukx/UEXiMMdzCN0x2KRvLekDgj5yrMGSWi8n22Q==; 20:UDhc5xgcxf0Eunl091F/R77AXG1kEHsOAtKtU87EIkziQp+/B75BxVxNrOZouPMTnQAOGshPMTMahTrdc7acPI2wbRRY8hg04SCBsfZLOWSKDNtERjUZ5uiGV4bs9AnDny29OIQpS4DNfaIthBi1JMtVDcQEvQ4GYr0eR10VbE8= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2017 17:45:07.8875 (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: BLUPR0401MB1540 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Tue, May 02, 2017 at 10:45:03AM -0700, Bart Van Assche wrote: > This patch avoids that when building with W=1 the compiler > complains that __scsi_init_queue() has not been declared. > See also commit d48777a633d6 ("scsi: remove __scsi_alloc_queue"). > > Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Hannes Reinecke <hare@suse.com> > Cc: Johannes Thumshirn <jthumshirn@suse.de> > --- Looks good, Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Bart, > This patch avoids that when building with W=1 the compiler complains > that __scsi_init_queue() has not been declared. See also commit > d48777a633d6 ("scsi: remove __scsi_alloc_queue"). Applied to 4.12/scsi-fixes. Thanks!
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index d698364df072..b7b340c494ab 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -30,6 +30,7 @@ #include <scsi/scsi_driver.h> #include <scsi/scsi_eh.h> #include <scsi/scsi_host.h> +#include <scsi/scsi_transport.h> /* __scsi_init_queue() */ #include <scsi/scsi_dh.h> #include <trace/events/scsi.h>
This patch avoids that when building with W=1 the compiler complains that __scsi_init_queue() has not been declared. See also commit d48777a633d6 ("scsi: remove __scsi_alloc_queue"). Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> Cc: Johannes Thumshirn <jthumshirn@suse.de> --- drivers/scsi/scsi_lib.c | 1 + 1 file changed, 1 insertion(+)