From patchwork Fri Jun 3 19:10:37 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: 9153937 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 A846560221 for ; Fri, 3 Jun 2016 19:10:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9989B28336 for ; Fri, 3 Jun 2016 19:10:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CBB028339; Fri, 3 Jun 2016 19:10:43 +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 F0E5028336 for ; Fri, 3 Jun 2016 19:10:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964777AbcFCTKm (ORCPT ); Fri, 3 Jun 2016 15:10:42 -0400 Received: from mail-by2on0059.outbound.protection.outlook.com ([207.46.100.59]:26752 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932379AbcFCTKk (ORCPT ); Fri, 3 Jun 2016 15:10:40 -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=59DQ9Mo/bEFi62/zyCJc0xH2rkhOFEJMEmCztVy5coU=; b=Ciufu3lhf+PhRW6nJDGj/RkcrkLu2+aHgf3lNfItkiE2V8+naH1mBsuCwxP0C+NY/t5WvOvH4V6KVB6oiGjVmMAhO8CQ/gMkrqLwg1PvabPgn/Ew2Oz79t/xC6df0ov+jaeZ3BHnqWfMC3Lm8sW9J/FFO6XzPwVBUJCRHLyB2l0= Received: from BLUPR0201CA0039.namprd02.prod.outlook.com (10.163.116.49) by BY2PR02MB523.namprd02.prod.outlook.com (10.141.139.27) with Microsoft SMTP Server (TLS) id 15.1.506.9; Fri, 3 Jun 2016 19:10:38 +0000 Received: from BY2FFO11OLC008.protection.gbl (2a01:111:f400:7c0c::115) by BLUPR0201CA0039.outlook.office365.com (2a01:111:e400:52e7::49) with Microsoft SMTP Server (TLS) id 15.1.506.9 via Frontend Transport; Fri, 3 Jun 2016 19:10:38 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BY2FFO11OLC008.mail.protection.outlook.com (10.1.14.255) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Fri, 3 Jun 2016 19:10:37 +0000 Received: from MILHUBIP04.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 1D.4E.03023.435D1575; Fri, 3 Jun 2016 12:06:28 -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.279.2; Fri, 3 Jun 2016 12:10:37 -0700 X-AuditID: ac160c69-33fff70000000bcf-da-5751d534f440 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 2C.C3.03875.D26D1575; Fri, 3 Jun 2016 12:10:37 -0700 (PDT) Subject: [PATCH 5/6] IB/hfi1: Use bit 0 instead of bit 1 To: Doug Ledford References: <86c06ca1-753c-6b45-3f65-f9a19f7693cf@sandisk.com> CC: "linux-rdma@vger.kernel.org" , "Marciniszyn, Mike" , Dennis Dalessandro From: Bart Van Assche Message-ID: Date: Fri, 3 Jun 2016 12:10:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <86c06ca1-753c-6b45-3f65-f9a19f7693cf@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRmVeSWpSXmKPExsWyRoxnka7J1cBwg0srxS2e733NZvHy/AdW i2eHelksNvxvZHdg8Vi85yWTx/t9V9k8Pm+SC2CO4rJJSc3JLEst0rdL4Mr4+fsFW8FqjorX E6cwNjD2sHcxcnJICJhIvLy5AMjm4hASmMsk8fjiJ7CEkMB2RokHa4Vhiibsf8QGUbSUUaLl 9mNGkISwgIXEsoktrCC2iICaxKZXi6Ca7SRed3xnBWlgFljGKNFxbDETSIJNwEji2/uZLCA2 L1DRx9snmEFsFgEViT1z7oI1iwpESHz6/YUVokZQ4uTMJ2D1nAL2Eg8+9APFOYCGakqs36UP EmYWkJfY/nYOM8guCYFFrBI7G3eyQhyhLnFyyXymCYzCs5CMmoXQPgtJ+wJG5lWMYrmZOcW5 6akFhqZ6xYl5KZnF2XrJ+bmbGCHhn7mD8e4T70OMAhyMSjy8KxYEhAuxJpYVV+YeYpTgYFYS 4VU/HxguxJuSWFmVWpQfX1Sak1p8iFGag0VJnNft3pcwIYH0xJLU7NTUgtQimCwTB6dUA+OG uaoCDbnZZ9ozAk9sYly86MM3k6iLU+JTi995i9h9sHfz2egs9j14lu4E90vC5Uu5dJfvPaA4 aVfs68d8Cj8PKPnZ5E82/PggomqL0pqbs5tZ5e+W3nb3ZPg/abL82w/li5Rqjvy5Jngr2Ka9 8E+zq2GkaljkXCsGnflhr8+8OX0k7+TqRduUWIozEg21mIuKEwFBKI06ewIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAJMWRmVeSWpSXmKPExsXCtZEjRVf3WmC4wdXZ/BbP975ms3h5/gOr xbNDvSwWG/43sjuweCze85LJ4/2+q2wenzfJBTBHcdmkpOZklqUW6dslcGX8/P2CrWA1R8Xr iVMYGxh72LsYOTkkBEwkJux/xNbFyMUhJLCYUeLzvCZmkISwgIXEsoktrCC2iICaxKZXi8Aa hATsJF53fGcFaWAWWMYo0fHkKFgDm4CRxLf3M1lAbF6goo+3T4DFWQRUJPbMuQvWLCoQIfHp 9xdWiBpBiZMzn4DVcwrYSzz40A8WZxZQl/gz7xIzhC0vsf3tHOYJjHyzkLTMQlI2C0nZAkbm VYxiuZk5xbnpmQWGRnrFiXkpmcXZesn5uZsYwWHIGbWD8fpE80OMTBycUg2Mq5Z/bz/hcaWz bPIN/lN5u6Jat73XtGuM1jKL567d+qOk0//FftXZ5yYs6WtZounxpDis5/GypMpAnbU9Wr8N Ko4cbxWYofTbVCk2NXX3P6esZYmzftyNnmW8vviq+LaEzCdRdgn994pvnTrEzFct9ua0J++7 2lKdC0KcdRKL+2+vUu8SXX1RiaU4I9FQi7moOBEA3lf5xfMBAAA= X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(3190300001)(199003)(189002)(9170700003)(50986999)(189998001)(4001350100001)(586003)(77096005)(8676002)(110136002)(2906002)(5008740100001)(53416004)(19580395003)(2270400002)(230700001)(6806005)(2950100001)(19580405001)(229853001)(11100500001)(23676002)(92566002)(83506001)(31696002)(8936002)(76176999)(65956001)(4326007)(106466001)(87936001)(5003600100002)(81166006)(31686004)(33646002)(47776003)(50466002)(86362001)(54356999)(36756003)(65806001)(65826006); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB523; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC008; 1:NQpJVaMMTRoyYJAzLEK1Ihb0f+u9MZSxsLtZ4LuAtHpywCXDhL3KXP3yMcwtf/gsYAdLIiWW9oOCl9eb66hY/idSSqM7zPvMr6Y8m690OWrdQ5y3brxEwg8Ng+2csINMvnvMGcXgsWbszywHzHQe+8yVb9fospFOrWyc7b7QQxIRYEsOemCJ/SN+r2CV5t+lq8EJTI22xO1P7H6sUhWsIAmMOXw8Y47uSMEy6vACiTWKEv1U408mPSoZxqk2eut2FXNfd+zrp33OA0N6nkvI5u+cJ5j7LdUEHeQw+C/jk8ntA75rAUBnboNqhhjjBEEgbZw2c2Vdx+Dp0l/6Tpd+K5FYzpxuAiE6/8lu67ea7SVJ9gxhMH02CTr12yFnpSS3bxasILlYPZfYGJ0Al6WhKMw7pP/T9NEr2g5VKHedaowcTvHCJynOZsYKDPMLkAbvHcuV4/FBKuAcOO7JTZ+djAwwwXT6Pfhm/unfsj0Pe0J7qO0zY5jdXNnJ5+enpVNHnTU5cUDfhYt9+pbLUWNwXg== X-MS-Office365-Filtering-Correlation-Id: 42f3f54f-b42f-43d8-942b-08d38be2bf5f X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB523; 2:5ufdU+KbR2uiW23mr1cSTERtDCoJgMHQJ0d4cImtVJzbMAl95xsfEqetsSzdDMdbzvK1vrYdOZUEye9/VhcOY0/jtWb3/hsjST+RsIzKAtyUtGgS//PUt6lV/zP3+Buj+d5qIsdEUclCyL5acHw7xQthI+78a0WhdxSo3AXlZUxdlt1iGjwmPEVlHu4nHIoz; 3:63NS7UPktKK/bGlNdWVQli5axU1WMTuMEQgJro2IkVJH0fFS9SzwDbM8mnb5C6NkjmxO6GvmBeLk3stMR1q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ptBQM6AezgrJwZ6K0pyEEE+hOs/Ubz2b09HgNSnbpBt01xLwR7Dx2aEtLfIORSro/etH9Wl46hgD+BHcEhBBjssww/To3ps1Vp4txm3gTbsr/qJKjwjBx6qdMzF9LvFXglNaLVI40ViP0NJCGSYH10gI3PcFgfKk X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(20558992708506)(42932892334569)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(5005006)(8121501046)(13016025)(10201501046)(3002001)(6055026); SRVR:BY2PR02MB523; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB523; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB523; 4:QW2c3jNr+RbE01p0VGqsjn+PvluyuxSNTWcj2+zVRApAo3BZyGLNOw3vqCJE9MSEXEwpvAzB1L7b3enzQ64KSzQbMmGXA3hPimQmg6mpKDq7zCjo3a34LvaCYCUgqTCqi7P0ej9DLL4WAKqDwXfilbtS9w1qLz3X5VinQ6CtFFPG656YSdd/Z+xr30xJLYWTmrINszlVgVFJelO/EH7mI/GWb8z8R3wTZ2pzCD6Uead1uH4ObgLzjgOxDdvkCfEl2HNP1DNGaMxz7mDJZmU/IUGjJYJaGFF2Isx20WuLLQHW59b5xggjrbbBebW3u6KIBpXLw+6uF8S5XstMSkeML8tBMXWCl181X4R6cobqE/s3gWElirj1pGpI01rY0RMsxr8nCrco/j0z+Cp38XgHAANOBDgaHheiqbqiUBty8DXfkBBTDoq5eoRP0e8u5u4M3dAsCquhkV8B8Pc0i80VKas/ZZrcvAwSRS4i/jmYDAiuxR3yAetaCe6Rnx0cLsR6rnRXkMGBynP1hXKnuToF8WVRMatCKrfB7aiOZCPF8aU= X-Forefront-PRVS: 0962D394D2 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjAyTUI1MjM7MjM6VmFJamw2Y05YQ3JnYkRkQjdVblpUc1ZLOWJ2?= =?utf-8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trd2WhGvKOJ28Nt4tJigQPtubFVWJmLR+QxZ0LaC7o=; 7:roFwrMcqroYLoiJ9UEXNVCkzcw418Outt23mX3VVDOlU9y8+z0WUTGTJFQcj1pEcEFnVba2QaoAhz0glKS7cS0623lsC5qJtoJBTZFqkZDqgYcxWDVTGniibPDHeOHyuw1yPI5/nW+IRl436a1w1FPkVs0K+BTRflAX+xLFl60Q2MUaUQr48nUjYeEe6k2FmKXRHK9l7vFGkErCWehZmxZku5t9Ii85GQQhMvVukV1o=; 20:fec8U2+6jCOkPIS9NDbSHdjPSUEX8NP8sOdC0HYZkLWHyApky4udePpJ1P/gwR//fIUZmDY7IqtyV7pOOggOrcWJuaAy+nDF/qwcu1uDR70BDdg4p1U9ACI0o/wB8W21vjnc9VU+muWKdUJYStUhdbhxUO81Hw/7yk775o/goTNCeMEKClJbw5kRWEBd4+jSNmlB81YGAz45vok0ZhMdU5w+FKVXbIRDrON2qK5IeyMGdxwKUjvD2pkByO7UXeqg SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2016 19:10:37.8641 (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.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB523 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 The first argument of test_bit() and clear_bit() is a bit number and not a bitmask. Hence change that first argument from (1 << 0) into 0. This patch avoids that smatch reports the following warnings: user_sdma.c:1059: sdma_cache_evict() warn: test_bit() takes a bit number user_sdma.c:1590: sdma_rb_remove() warn: test_bit() takes a bit number Signed-off-by: Bart Van Assche Cc: Mike Marciniszyn Cc: Dennis Dalessandro --- drivers/infiniband/hw/hfi1/user_sdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/hfi1/user_sdma.c b/drivers/infiniband/hw/hfi1/user_sdma.c index 29f4795..2eca5b7 100644 --- a/drivers/infiniband/hw/hfi1/user_sdma.c +++ b/drivers/infiniband/hw/hfi1/user_sdma.c @@ -183,7 +183,7 @@ struct user_sdma_iovec { struct sdma_mmu_node *node; }; -#define SDMA_CACHE_NODE_EVICT BIT(0) +#define SDMA_CACHE_NODE_EVICT 0 struct sdma_mmu_node { struct mmu_rb_node rb;