From patchwork Mon Sep 26 02:54:38 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: 9350121 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 A4B0F601C2 for ; Mon, 26 Sep 2016 02:54:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D34228D5D for ; Mon, 26 Sep 2016 02:54:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81C6428D5F; Mon, 26 Sep 2016 02:54:52 +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 C2B1328D5D for ; Mon, 26 Sep 2016 02:54:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941195AbcIZCyu (ORCPT ); Sun, 25 Sep 2016 22:54:50 -0400 Received: from mail-co1nam03on0089.outbound.protection.outlook.com ([104.47.40.89]:19668 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933093AbcIZCyt (ORCPT ); Sun, 25 Sep 2016 22:54:49 -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=iZ1DEO4IEoy4OXdbX4kEbg6QXNYn3h/GK+JzBXcD2hM=; b=hjYVeu36HK9yR0zjmVVdHwPR5HM0s7Ldi5mAP8AK3c8SMsqtXuitTh1khpnPIhhap2q0ndSPjRcXsg8Lm9obSOWjvIN8ZOowziQIOuhMeEZaTi+GjHw4VhcyM25yLBK3Qpb74l1wsPIaAqNaCJaOEDHC0Od9O+8JI2WqPdRBWcM= Received: from BN1PR02CA0014.namprd02.prod.outlook.com (10.141.56.14) by SN1PR02MB2144.namprd02.prod.outlook.com (10.166.68.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.8; Mon, 26 Sep 2016 02:54:46 +0000 Received: from BN1BFFO11FD017.protection.gbl (2a01:111:f400:7c10::1:194) by BN1PR02CA0014.outlook.office365.com (2a01:111:e400:2a::14) 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 02:54:46 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; fb.com; dkim=none (message not signed) header.d=none;fb.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 BN1BFFO11FD017.mail.protection.outlook.com (10.58.144.80) 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 02:54:45 +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 2C.82.61581.BEB88E75; Sun, 25 Sep 2016 19:46:06 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.301.0; Sun, 25 Sep 2016 19:54:41 -0700 X-AuditID: 0ac94371-607ff7000000f08d-55-57e88bebd658 Received: from [10.50.231.77] ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 92.8A.03606.EED88E75; Sun, 25 Sep 2016 19:54:41 -0700 (PDT) To: Jens Axboe CC: "linux-block@vger.kernel.org" From: Bart Van Assche Subject: [PATCH] bsg: Add sparse annotations to bsg_request_fn() Message-ID: <6dfb1793-ca6a-c3b6-b3fc-272e68ca6880@sandisk.com> Date: Sun, 25 Sep 2016 19:54:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrALMWRmVeSWpSXmKPExsXCddJ5ke677hfhBhNfWlr833OMzWLvLW0H Jo+Jze/YPT5vkgtgiuKySUnNySxLLdK3S+DKaDncyVLwkKXi/ZQpbA2MX5m7GDk5JARMJI61 /WfpYuTiEBJYyiQx88kaJghnB6PEz+WNcFWd+24wQyTmMkrcO7cRLCEiICvxffdrNhCbWcBe Yu/tVkYQm03ASOLb+5ksILawgIPEyfcdrCA2r4CdxIdHH5lAbBYBVYl/mxaDzREViJC49bCD BaJGUOLkzCdANgfQTE2J9bv0IcbLS2x/OwfsBgmB1ywS3/ecAtsrJKAucXLJfKYJjIKzkLTP QmifhaR9ASPzKkax3Myc4tz01AJDE73ixLyUzOJsveT83E2MkHAt3MH4+rb3IUYBDkYlHl6P w8/DhVgTy4orcw8xSnAwK4nw/mh5ES7Em5JYWZValB9fVJqTWnyIUZqDRUmc92L0xzAhgfTE ktTs1NSC1CKYLBMHp1QDY9K6HfNWWwv36Gj85tsW4vxu+lHlKdEnEuvf3lK26lw88do+bgaB lcKyDWyCfWHnL33c/Hf6HJGwy23zk/6F5skYSnRemfdv7RfWWZdsJ9u/jhJ2kTh95VJr8b3f T9jePHJR3bblr/nj5qmrljccmmonfKVT/kFktZfjuZSzbxJ2e+nu/hmWp6LEUpyRaKjFXFSc CABCdQCtUwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOJMWRmVeSWpSXmKPExsXCtZEjRfdj74twg+VPRSz+7znGZrH3lrYD k8fE5nfsHp83yQUwRXHZpKTmZJalFunbJXBltBzuZCl4yFLxfsoUtgbGr8xdjJwcEgImEp37 bgDZXBxCArMZJd7ePwSWEBGQlfi++zUbiM0sYC9xZvtUVhCbTcBI4tv7mSwgtrCAg8TJ9x1g cV4BO4kPjz4ygdgsAqoS/zYtBpsjKhAhcethBwtEjaDEyZlPWCBmqkv8mXeJGcKWl9j+dg7z BEaeWUjKZiEpm4WkbAEj8ypGsdzMnOLc9MwCQyO94sS8lMzibL3k/NxNjOCg4YzawXh9ovkh RiYOTqkGxgUpx3cv2+g3ecMaD93A9lMvQ1iXFTP/Nd/fMs/ANFDocHaCfnfeYU2P74JtSfvf Tq+ZuudnSPvtTkWFLeXScbevVLOZcPz/liGyKjPTaYLT7su9+gEp0z7GPdjWLJDgXhC9OjKl TL/YT7B5opfq+dm33c3Xy/y+6jdF47xoxuZaXu4CIR9RJZbijERDLeai4kQArFuzbcoBAAA= 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)(31696002)(23676002)(586003)(4001350100001)(86362001)(50986999)(54356999)(8936002)(68736007)(2270400002)(77096005)(92566002)(81166006)(229853001)(97736004)(189998001)(230700001)(31686004)(106466001)(2906002)(81156014)(8676002)(4326007)(11100500001)(356003)(65826007)(110136003)(5660300001)(65956001)(47776003)(65806001)(626004)(33646002)(305945005)(7846002)(69596002)(19580395003)(19580405001)(83506001)(36756003)(87936001)(6916009)(50466002)(64126003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB2144; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD017; 1:0+Vb58v02SgHjgmYGNMl9rXE/fV5f0ku7C8eU9oocvYXZbFS3vfbJ9vo9AhhpYfWIkIZteOiRWQZmAv1BsjXHBeh6qAy9twid6y5ws6T0c75mr/dM3LrIXp+XkNv3ShpQrhr1ohByCiZGel358laxMbO/qMvH4ypLvq8dJDDXj979Bu6ZKgRC2Nz5GchSSAflc1fhir07amT7gu3BPMhClaljq1/c5gkUgxpRcm1vcL8TqlYOrl7LggDaI3KLo+FeioCV+Y7RShMgrm71YPjFXLt985LdXJ873aWms7eiCP35rNZyxqhDZiWDAHq7w4vJL5zCMSPAvgLELvTr3bqfUzNidjBYPu+OTv5AMaqmshxncI6u2n1kt4qDw6GpHUBL2rF0qbECWnfEEBEmZvfYYNpVCl+xdZskKQJ7eJ0x6XP8ta85rD6BHO8/yELjx8syHJBFFN/bCxjyCSaZPjlcz/eStCwVH+aD4fIwqwOnWg= X-MS-Office365-Filtering-Correlation-Id: 5732ba91-57cf-4f87-fb6d-08d3e5b87967 X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB2144; 2:JmtjOkt/B3mWp8CNvCpOmPJ/QvT5DdtA/U5eEpeL2m9PZ4+2ArEQ1cObC3zsO3olRTEcpg33CqNedy1JWzoWWZLXMFwdazc9XFKvN1UuhyBsJmnscL191LSZiHjrrk8Qm6wCHEjwXpV0jDplkA1CSKvtJK9zG31FbG0hS7wb7F+MBBX4rmwsix4EmO+S6ZXL; 3:vlcgJ+F1V+8BJdE1/sDWFQxv1MgQSkrFyuDGmh6R1toZES2lELnDHzdHuE3+2hLw1+ab7X7eX6MwU5MGijxuOgRwip3NmlMWl+HG0JIHx+8jpIpFm1Gi1ice1JbNLPWT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oft-Exchange-Diagnostics: 1; SN1PR02MB2144; 31:AT7q7EN1lPxtw/rFbHe75SVEZiqgWADFrGoWq8IZ2UOrg5X9/x3PLX9asy9qAIHeKlev0FK0rVBDOT81m9GbMKiXzaRJqYgLznIpa2F5nbzpUL7nQM/bG848W/xKkuIi1FOvUm5nTEfBpm7NIwrbF9wVlzkL6yM61TQXjtjEJ6Z9tEUbNFIVHqT+UglwLq9qb/JH0tYRGZze+DmL2/FSGbDYNSAp/ifgHVFRoHdVCyA=; 20:JA/zXCi8lTm0hMxtmXyYRAKB+uxS5+W1EtagPst54biI+gcUYCgCd7AoCMBSvvO2KGl7++Xq7TAHY/WYi4pdsGL4wg3gQ5GytV67KqYEn1WFHUyRPAW1oou/keQiSTrQRguRHWWzr7Igl+1XZ301JwsDRPSqfX8eiASCnabIxQlJTexeeeHyH8gVxbKvfkCTnh1icn32CSvS2fDEQFHUAEU+h2IXSLs1+8M+y6XMQr/tAWbvcMLyqmh1qsmA8DhvRwezbvGHGykkPgPgfH4djC//p2HbHIhtJw4m1XcBM/LhFvzdtuku+vBQQjjBh+c5XeLwdMQZvWX14sxvBw2eFfU87udqtCh6Ch//kQi7psrk4EzR5MwrSldKW4H3PiYZtHoq3h5WBmc/qZ56aXM+giS7paEe7uxszG5A8Rb6i2DUw6/lW8vrv1pe/5kginT7KZg0uD5mrmTdLsfw//qO5UalXHPpCiKVlh0HmXXie7kBLRiLSHrqPD5z/HWSEf5E 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)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:SN1PR02MB2144; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB2144; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB2144; 4:ZC5oEucREIPOeFWE7vv9RDhfPwoQGysi8ob5bENrPBCQP3HCVkBHS+cKS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gpT0cAMFwLEE8IWWXET7w9yRs4MucY1AM7l5qzLjwjgQYkMNiPf3K7jLc/AynQUB8feEGuDDbPcMdAA1NXnHOYTzeY5HzS9YPXIuCydr61m80jYhtBlfln1V60QRD2FLQ7AAogxpTo6sGUmYO4FgL8DPxbM/9kV1lGRHveOXMuLpDEXAt0wAn2icaCv0WGKdW6/lkPM51W8s0tEqejwCU8eeiGnM0i SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB2144; 20:uQGK6eRBcvPXclEkUw4t7y/2zgahzmccWzzNdIq4u8TfTFi6GdveR5Ybzrljd8IAHdfcz69G2R5vvu4y5kcMpxPnGr1RcOzCuGBt6JmjjCkGSM4MLtP2ZyNr4QxgwmXSLLzQk+bxUUPVpgKRMIMbvgVl4VsSpkSJxg7P6/Hn5+DtEJ/izbUlW456uKpcvCXez7zJL/reG0AjJ8h/0uNVmTTrvcO6fIUYZJjBzT743CdBT00wNhtmCUzSVO6GCPi0 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2016 02:54:45.9696 (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: SN1PR02MB2144 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoid that sparse complains about unbalanced lock actions. Signed-off-by: Bart Van Assche --- block/bsg-lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/bsg-lib.c b/block/bsg-lib.c index 650f427..b2a61e3 100644 --- a/block/bsg-lib.c +++ b/block/bsg-lib.c @@ -161,6 +161,8 @@ failjob_rls_job: * Drivers/subsys should pass this to the queue init function. */ void bsg_request_fn(struct request_queue *q) + __releases(q->queue_lock) + __acquires(q->queue_lock) { struct device *dev = q->queuedata; struct request *req;