Message ID | faf984ea-2507-f191-9862-ef6685c3fbcd@sandisk.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-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 B3C9660235 for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 21 Nov 2016 21:56:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A58AA28ACF for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 21 Nov 2016 21:56:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98DAA28AD2; Mon, 21 Nov 2016 21:56:56 +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 11EF528ACF for <patchwork-linux-rdma@patchwork.kernel.org>; Mon, 21 Nov 2016 21:56:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753075AbcKUV4z (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Mon, 21 Nov 2016 16:56:55 -0500 Received: from mail-by2nam01on0059.outbound.protection.outlook.com ([104.47.34.59]:4384 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754004AbcKUV4x (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Mon, 21 Nov 2016 16:56:53 -0500 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=Qw6HtOuE8QYxR1tFEffszIeMIlZW+QQqD6CabVfPXKk=; b=NSjIAnFXO2tbZxYzieb74THH5YNQhUPUQ6e4ko0FFjq1MBldk0oZ+I4Iq/Ej9BpiGg501ratiMGhQp7a2ipMB1uPuHBxldopI7uZvhB0LWWyFxCD2jc7SQS8pujUid/uTdjTnfKC145zJH64GWtxAPZHElrq0PbC/sOZh8nORmE= Received: from BN1PR02CA0052.namprd02.prod.outlook.com (10.141.56.52) by BN6PR02MB2852.namprd02.prod.outlook.com (10.175.96.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8; Mon, 21 Nov 2016 21:56:51 +0000 Received: from BL2FFO11FD018.protection.gbl (2a01:111:f400:7c09::135) by BN1PR02CA0052.outlook.office365.com (2a01:111:e400:2a::52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8 via Frontend Transport; Mon, 21 Nov 2016 21:56:51 +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 BL2FFO11FD018.mail.protection.outlook.com (10.173.161.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.5 via Frontend Transport; Mon, 21 Nov 2016 21:56:50 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2968; Count:19 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 C2.84.03811.6EB63385; Mon, 21 Nov 2016 13:49:28 -0800 (PST) Received: from milsmgip12.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; Mon, 21 Nov 2016 13:56:46 -0800 X-AuditID: 0ac94371-71bff70000000ee3-31-58336be64549 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 13.56.03661.E9D63385; Mon, 21 Nov 2016 13:56:46 -0800 (PST) Subject: [PATCH 1/5] IB/srp: Fix CONFIG_DYNAMIC_DEBUG=n build To: Doug Ledford <dledford@redhat.com> References: <ba32b251-135f-c57d-44cc-658ae35a49ca@sandisk.com> CC: Max Gurtovoy <maxg@mellanox.com>, Christoph Hellwig <hch@lst.de>, "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <faf984ea-2507-f191-9862-ef6685c3fbcd@sandisk.com> Date: Mon, 21 Nov 2016 13:56:46 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <ba32b251-135f-c57d-44cc-658ae35a49ca@sandisk.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJLMWRmVeSWpSXmKPExsXCddJ5ke6LbOMIg3vPrS1env/AarFy9VEm i2eHelksTj86wO7A4rH7ZgObx7Pph5k83u+7yubxeZNcAEsUl01Kak5mWWqRvl0CV8aRGffY CmYJVdx+9JypgXEGfxcjJ4eEgInErCd3GLsYuTiEBJYySazquwzlbGOUaD43gw2m6u6ZhWxQ VYwS+9s2s3Qxc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iXlhvZn+xleKW8/O2/zUh6lyL6rvRHyjcu+Gfu0e80W1xSz+leRYnqZj3FumLd0 nHyJwWHW0si+TRdZcjVq+NbPEtmlZa/EUpyRaKjFXFScCABUe+k49AEAAA== X-IncomingHeaderCount: 19 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)(199003)(189002)(106466001)(5660300001)(33646002)(65826007)(31686004)(53416004)(54356999)(76176999)(50986999)(92566002)(77096005)(50466002)(23676002)(626004)(2270400002)(305945005)(81166006)(65956001)(65806001)(69596002)(81156014)(7846002)(356003)(68736007)(47776003)(8676002)(8936002)(36756003)(4001350100001)(189998001)(83506001)(97736004)(230700001)(2906002)(86362001)(31696002)(6916009)(110136003)(38730400001)(64126003)(4326007)(87936001)(2950100002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR02MB2852; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD018; 1:HONzAs1mfLYTzipV5NjwV/XG5Vj9hKB6tKD9zkKEXCCSuPNP2jT8oeJUKxeB2JIdUNPXpuXLbVt6FP2t1mdicWCpw630HLI9vNSYlWA9bwfSPUVd1x9btGw7EgTMgpLxMrzuqjwhrCgdLqurpvsBXInbfEO3bPQ82MXJjUwKVwuC3UAL7ZcU94oNG8WAmx3iOV3lFZ3/0u1ZleSviqFylKV+lgpq+7Y0CzFj8eGG3X9VoNcOUguhgrg12tyNQ3JsPAXmr4wgX0hdTgD5Yd8J6peNnoKVY5RDAcYMJplAM30l6214kYj4rACnBteecIrjqwKGjFRdsJG9mnV3KYa2TuG3E3oGfaw78TkkurwyhosLHWVsvLM2AK0LcrFSU21D56Sd2aYKdcR5qUSLwU1cgDCqHdD1nhKommL2k6MzC23UxYiUg1evLRYi5kvqj5hzOkF6IO4/spMpPpqiYoRxIv1XUTRpcKTBIFBnusblkyguJu+ak3me6Waac0hfcoMsglGXMQ7ZnQJG0WkIz9d9bW9yylpCBjLCYlQvGAlSmnY= X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2852; 2:bSRZO1Vbop4fDRXfMy9IjR46S8C1b7oDvHJ//7ybr43DLDlTv4+gK2oilbj3VeqDMwiqjW7AByh98AgUt7tMxlwU262t1NjVQ1Q/PqfZ6SeEPHi9fbBXCwy8GXjZfW7MUsrgM9PCahS2UYZqdlqTjpKRUEQ9mfSgmOyQ0aP95E4=; 3:t+Rpz+TZpkHtk4QdcA+xv4QX5O540NZ8oiq+U1zRSSFL1UhFGMnmgd4cwG156wsZwdbvm7qc2YagFy6OG0YyWKM0ELEUe8XC5JIlYFs30N8yZ0d7etZiVcl+lXtUSlT5NmysD63H109OhuEK6ZmRU7xnP4przTlcdTVte7bnvG+akkKYUQuK7VO4vA0OKjSIpS3neqfGqgphgBlFthKJOCCHdnHbcCgOCaYyJZjH0nXkCYdsEEK3Z4RHAes//YmfTY9A7FpiM7fFiggVeIC2RHG1cAS9HGJUzXgiQA3w4XQ= X-MS-Office365-Filtering-Correlation-Id: a7ef2ca6-8752-4bf6-caa6-08d412594c7e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BN6PR02MB2852; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2852; 25:SC6fo/LrduOl3M68x6m8Km//Pwq+ORPiYqHQtgOl3FhySbfqIV2gkrH05xnhQPNmlZ/Z39GDtyhs7vV2gdm69eTSQ2zOQHfvGqHFpxF9ujmLs24CXF3lu3KN8OQAFd5qib6CuGCk+DPYwtDGjgg5DUggER1izoaM7tVxbA29iQj47FOZV9Ct9+E0UN3paW1re/kvqvJtjIhqKpxubzFu+bIjMqDQvmw5I1aefm+CJ8sone15IMUKJx7M8k9NkSiLxwLqFh8qNHc7CF7fRTwZrrw+Jtx8SjR95MVXx9dfrGTXPCaDl1bH54/hbjclgrFrpJTu6d6ZgTbBIC77K+sNqrlxDsBhkpUP2qrxt2q6nrMTX2hlEz7Gtsuo1tyK9fg+c8hW7WLSum0Jq9s3/AgYMS8V7CgN9jMmZsH1FTW8+GeBEwsO6K1qEHuEE5q2qZ3iGzTMkP2Ck9gjcA590ECWTQ==; 31:pHZdAT4/fPqFumhOruARwal9An/OPXUkx0C82TgFYy+WVDWSlrujLEbqmqBqqFRCChUcQoaeV5oLM551xKZQXUyIK49CEQLPu97nFPLO2F29VuNl2/acDOXsH2dOhrUpsaA5QZfUX0g5kj1CqjTT0fUpTJWNIryibflY9GusVXIRRWJnNAUDlmsMuwWALRSBm7dBs9dl2QvtzKnjPt3xgxDtuViD4274KOWP/pL4bO3v6ouCcs6icjlIUgl8tJU2dxa68I3W/JAFfFfMgmmEOQ== X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2852; 20:heDUthSmRjknkh01hDPl8h9VwYWfLfVcux2XB1HUQ5JPcoLQFFYn4QoNukApzF8dt9EmtbSMN1QHDzmmvUKLfm6QmWP5rpb30Bjbp3zj8KFmQO1/qkxNzt/INCBJ2yLHBM+f+v1RUwfte7V9kk571O6tRAuAjbShJN8f8rcKWuI9FVde0eP8oGfBrKkcLNLCDwz5An3/kdlkqmCoPl/8zfRmEXko0nAGXHC25lFMc/aBOrEgwCNayZCfehQjRT+aQEiXfTV7439qH6TwEBDwQx/whPsS/vDiE/phG2Y7xasq0EfNzVlWsb9zjlFlbH70gWlT74saPLMkpUjC+vx4fsyOeIptI6wX0e8U8jK+kTFzIJx01nBlqJG0jJeT+8WBFVTsIXgAJC/bUYqPq7Zw8IqGsPyZcs3P1nXRsRHukPRAex53f539jB39TH6D1usWLuE2NH7MCF3aN48qtEJAYZHAdF6ia5J1itoUPzkFtwrCdyw4731LkinXWyWCTMAG X-Microsoft-Antispam-PRVS: <BN6PR02MB2852A0A4505E2B515B029D3781B50@BN6PR02MB2852.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6060326)(6040307)(6045199)(601004)(2401047)(8121501046)(13016025)(5005006)(13018025)(3002001)(10201501046)(6055026)(6061324)(6041248)(6072148)(6042181); SRVR:BN6PR02MB2852; BCL:0; PCL:0; RULEID:; SRVR:BN6PR02MB2852; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2852; 4:d5+pCtcxuTpco2JskzOOBLvM5w0Vn5XR6viix42OZ2vWwSvvWxJIDrEeUMlY8d79kG3oeH66Jnz8eqllguOCI60svYyfm5rnR1LDnQSp0XCPzlnOEW0/KD0+0BEyJxQblZW1yyyr3YPQcpraBbkg9xLvnOXJ/jU9J9+HllXzh05FeTggLRfrkDZ20KubwFAsIYDLZR1HPpyvWISG/QTGlHsAIPh0Rc0yaRLO8/T0qHphLK/D8M5Iju09lHoH6ErEp8IjJWWH6pL/YT0tMKXDu4SwLj0qsqWYJROFQ585j/uiZVPdvnFYrsGduG7FtCx4KN7n1cMjF/HNQ7xLIu0wiLAUE6JK7JX/lI2wzMpy1dEvQVCCfUoCJrAsBLx7LJt158ANsIchQpwfqWu76r/t8sMkjj5e3V1wzd4DaVsdkv03Q8XIrloTzQrbwWOrcEqI1i8TNIRzR3s8mgUDWNtBaq/Egcw5KvAJ2bts70a/1Q9CMuLLkRtGqysOhIt96L/RZdub9prgCF83J2RfiIQCHreiFDMUTizIByYW2Wz6IYj/Pd57rparq7MmA8rCtWMU3XLKmp1VFE9QD1fsE3ueSa7xQtNJPt4hjL3ZgqI/EKE= X-Forefront-PRVS: 01334458E5 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTjZQUjAyTUIyODUyOzIzOnFiSVpCcXpzZ1dvQUVEc3hzZ1lWTFA0a2li?= =?utf-8?B?SGM5Y1FlZy9BbjNwOEMrSGpGWGN0eVpRYzNlWmtzVkhmVEhXVmhmK2t3d1FB?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CMsD X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Nov 2016 21:56:50.6325 (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: BN6PR02MB2852 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index d980fb4..8bb720c 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -64,6 +64,11 @@ MODULE_LICENSE("Dual BSD/GPL"); MODULE_VERSION(DRV_VERSION); MODULE_INFO(release_date, DRV_RELDATE); +#if !defined(CONFIG_DYNAMIC_DEBUG) +#define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt) +#define DYNAMIC_DEBUG_BRANCH(descriptor) false +#endif + static unsigned int srp_sg_tablesize; static unsigned int cmd_sg_entries; static unsigned int indirect_sg_entries; @@ -1556,7 +1561,6 @@ static int srp_map_idb(struct srp_rdma_ch *ch, struct srp_request *req, return 0; } -#if defined(DYNAMIC_DATA_DEBUG) static void srp_check_mapping(struct srp_map_state *state, struct srp_rdma_ch *ch, struct srp_request *req, struct scatterlist *scat, int count) @@ -1580,7 +1584,6 @@ static void srp_check_mapping(struct srp_map_state *state, scsi_bufflen(req->scmnd), desc_len, mr_len, state->ndesc, state->nmdesc); } -#endif /** * srp_map_data() - map SCSI data buffer onto an SRP request @@ -1669,14 +1672,12 @@ static int srp_map_data(struct scsi_cmnd *scmnd, struct srp_rdma_ch *ch, if (ret < 0) goto unmap; -#if defined(DYNAMIC_DEBUG) { DEFINE_DYNAMIC_DEBUG_METADATA(ddm, "Memory mapping consistency check"); - if (unlikely(ddm.flags & _DPRINTK_FLAGS_PRINT)) + if (DYNAMIC_DEBUG_BRANCH(ddm)) srp_check_mapping(&state, ch, req, scat, count); } -#endif /* We've mapped the request, now pull as much of the indirect * descriptor table as we can into the command buffer. If this
Avoid that the kernel build fails as follows if dynamic debug support is disabled: drivers/infiniband/ulp/srp/ib_srp.c:2272:3: error: implicit declaration of function 'DEFINE_DYNAMIC_DEBUG_METADATA' drivers/infiniband/ulp/srp/ib_srp.c:2272:33: error: 'ddm' undeclared (first use in this function) drivers/infiniband/ulp/srp/ib_srp.c:2275:39: error: '_DPRINTK_FLAGS_PRINT' undeclared (first use in this function) Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> --- drivers/infiniband/ulp/srp/ib_srp.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)