From patchwork Fri Mar 3 14:52:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Horia Geanta X-Patchwork-Id: 9602997 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 66C0D6016C for ; Fri, 3 Mar 2017 14:56:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5893827D8D for ; Fri, 3 Mar 2017 14:56:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4BC7C28511; Fri, 3 Mar 2017 14:56:36 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CF7DF27D8D for ; Fri, 3 Mar 2017 14:56:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bqyJbVFgoz0TvtApkwgBFu9vetMolra2luShvGkD90g=; b=td1jsnnErFD49R Oz28Np0nfMn52z5b2tsIYlH+F3epmd58Wjru1AD8Uyj9IOqjM2PYk/Ym16wAvQs03ATLZ38WSCjLD +bocwYduDA2nKmGC11yisSs8zsvldPXk0SYB8ALGFxbFB3CqkJFEZaw1xLEAk/Xl8Jkdc/eGH5J21 azPcDFTxpuFTXCCA3PtmQHbP8M7gwC3AZ8jJ2RJBLlhvluNL/UqzP4TLLaYTQw7dO5E6nU2zIM51k Xb+mOEy8zNV5el/4MmnqnN2LttGYJsdrJj9tfVhmlCHJCMpB+yS7zULD3KfxGIDIo1/DjnP89mP05 tgoiQlX/f1hmSl0HPXdA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cjodH-00035u-9o; Fri, 03 Mar 2017 14:56:35 +0000 Received: from mail-dm3nam03on0066.outbound.protection.outlook.com ([104.47.41.66] helo=NAM03-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cjoa7-0008Pv-RL for linux-arm-kernel@lists.infradead.org; Fri, 03 Mar 2017 14:53:23 +0000 Received: from BN6PR03CA0032.namprd03.prod.outlook.com (10.175.124.18) by DM5PR03MB2956.namprd03.prod.outlook.com (10.175.106.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12; Fri, 3 Mar 2017 14:52:58 +0000 Received: from BN1BFFO11FD040.protection.gbl (2a01:111:f400:7c10::1:151) by BN6PR03CA0032.outlook.office365.com (2603:10b6:404:10c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12 via Frontend Transport; Fri, 3 Mar 2017 14:52:58 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD040.mail.protection.outlook.com (10.58.144.103) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.947.7 via Frontend Transport; Fri, 3 Mar 2017 14:52:57 +0000 Received: from enigma.ea.freescale.net (enigma.ea.freescale.net [10.171.77.120]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v23EqdQU018743; Fri, 3 Mar 2017 07:52:55 -0700 From: =?UTF-8?q?Horia=20Geant=C4=83?= To: Herbert Xu , Scott Wood , Roy Pledge Subject: [RFC 5/7] crypto: caam - avoid double inclusion in desc_constr.h Date: Fri, 3 Mar 2017 16:52:11 +0200 Message-ID: <1488552733-20806-6-git-send-email-horia.geanta@nxp.com> X-Mailer: git-send-email 2.4.4 In-Reply-To: <1488552733-20806-1-git-send-email-horia.geanta@nxp.com> References: <1488552733-20806-1-git-send-email-horia.geanta@nxp.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131330263783316263; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7916002)(39400400002)(39410400002)(39840400002)(39380400002)(39860400002)(39850400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(5820100001)(2870700001)(5660300001)(2906002)(105606002)(106466001)(54906002)(77096006)(189998001)(85426001)(53936002)(47776003)(38730400002)(50226002)(92566002)(6666003)(6636002)(305945005)(626004)(23676002)(104016004)(33646002)(50466002)(8936002)(356003)(4326008)(81166006)(36756003)(86362001)(8656002)(8676002)(7416002)(76176999)(2950100002)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2956; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD040; 1:09M4FdQEeT37SMy7DKQHAo4vtQbpQKlsqCHrpiSHrqkeTUOZtI7jU4ML+TzhpuSx1PbayUITjJTuUZ1s2qbJXGylW7CqoxLwRl701624g1BhZUxpYYFULAO6mIuW50e6C9qL5JsBqcN6P3faLp3CeksgplpcGxhRs6rrbZVzpzLvK9fffaqmuRmBtiBe22n28lcffUBXGONBET2IHwA83TWCFxjQfyXOpVa/mHSTUTSytkvxmfNdEydnuZslGXwNI51G5/TMxjQ72T9YUjOUt5094UHBUe+MIjXhSN6on39CodZZy+zA/GNzP2B60IpwPZ4RzMRyziSOAKcp6Eu8nioGicHLnQ6gfUig1qDXUVvODePKMnu9yFywDSHN5cAv4KFvA+0OzEYxTmeL5mIJvAmjUFg42TZT7cVdt9+pDs6eDaaxluFhCXqvSdd5xc11P+ArBrZtmZVlxp53CNHCUOLDbcGWQk3oOeusRjUmFyZJrR6T9q5YDY+gTGmCYQUqv4+7W9L2sNuEBDgixk0PtgWFt5vm0cSTV7T52tycjU3bl7jEhp2bokKeOmqmeSM8pbjxw/nZxhGtZEWBIz8FQJgELcO1W9p7B43N1rGoqaMkZ03127iKTGHJAM+jhDmfWFdGCydc/jVkIak2VxJPNqg7FE9Zon67XJW1X4SA4iQDJf3XOdadnVDBQrFXfOPpmmsk3luA6pCmVOaV3Fa4HQ== X-MS-Office365-Filtering-Correlation-Id: 178bbf05-6f62-4d3b-b9cb-08d46244fb84 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM5PR03MB2956; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2956; 3:EFxo1dgd/Re/87t7I9HRtULawwWAy5QAitt5prrg989G7hCgleHYaSsB9Q1dXHz8uoNjUOtCXjIGFKEzYv7wHNzP9sN2k0vUgfq3jku4BYXCeTjaZbR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change-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13015025)(13017025)(13023025)(13024025)(8121501046)(5005006)(13018025)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123563025)(20161123565025)(20161123556025)(20161123559025); SRVR:DM5PR03MB2956; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2956; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2956; 4:+Jy2FmX1doLPdNC3q1tI/u4H7CK660sGi4b/v60zCAJYCOAqqU9l5whTJ//47PGPNUMcjRneXFaYPV4aZn8vSmtDZoltQIzGcIQ67BzHywaVQj54K8Dzf6gz2uxz8WrOkjGhsSMtK0Xio5sN6iykNAoICHKiExsu+g/JE806UX8RpwmIhrfEi4aW3gleRuPFTPAoSxoNxUTppQ0SD6mFtOwDdCXxqAwrdxhrmxRvs239y1o0j7sibwbwdHBDiygj6mijusaiI/Xe2CuuRk3w+ypJU2wIhF5jquLZJDQA/b1Mp7KDBmR3n8qttPkdzT8ZPYdeit4nv/XuPhg85dJmazxEeOBjRGCw2fEg9VwRpd+19PY1I2uzVqMJsBSmH0iF6D/3v5JyT1gejSxfkd6GFSeauA0R89lNvMzLueaAem+bW708v6CioqFi3oIV2AG9pRp5U6qLPnEEgUIMwB362PhX01Jh54V/y8K1ECoEFjCQvAAU60MpvznD+8uRAPWknfMJgiYeVwxr4VUD1zcfzlnUHig4KmQ5EtzbnVj2GaE2HFeonO6A2avx3HCwB1fPhZEYtSrcuMwvFkghJFyEGcffQhEE1Z7Ua/xRb/uFjIEnKqitZxxiopVUpvYmgksGUuYjG1SgZKQ7s4/eF+v1VHZfnj/QsarHy1Efq39gp0OADJMgJeoaPLxD+4LiHbCJL2mmZ7dTMjldEFUlpLICpdvFMPHBkkObUEWE8wzBQzV+HmCb2ZumR2Awep6r3iWk X-Forefront-PRVS: 0235CBE7D0 X-Microsoft-Exchange-Diagnostics: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P/RafMOjsZ0n1H5IDVJq2AsmFBNiaZu6DlbGlA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2017 14:52:57.8480 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2956 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170303_065319_993525_011980B3 X-CRM114-Status: GOOD ( 10.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, Claudiu Manoil , Cristian Stoica , Dan Douglass , linux-crypto@vger.kernel.org, Vakul Garg , Alexandru Porosanu Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Horia Geantă --- drivers/crypto/caam/desc_constr.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/crypto/caam/desc_constr.h b/drivers/crypto/caam/desc_constr.h index b9c8d98ef826..d8e83ca104e0 100644 --- a/drivers/crypto/caam/desc_constr.h +++ b/drivers/crypto/caam/desc_constr.h @@ -4,6 +4,9 @@ * Copyright 2008-2012 Freescale Semiconductor, Inc. */ +#ifndef DESC_CONSTR_H +#define DESC_CONSTR_H + #include "desc.h" #include "regs.h" @@ -491,3 +494,5 @@ static inline int desc_inline_query(unsigned int sd_base_len, return (rem_bytes >= 0) ? 0 : -1; } + +#endif /* DESC_CONSTR_H */