From patchwork Tue Jul 26 23:09:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary R Hook X-Patchwork-Id: 9249121 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 B2F2D607F2 for ; Tue, 26 Jul 2016 23:40:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A70026D08 for ; Tue, 26 Jul 2016 23:40:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DD9527572; Tue, 26 Jul 2016 23:40:23 +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 5068226D08 for ; Tue, 26 Jul 2016 23:40:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964814AbcGZXkU (ORCPT ); Tue, 26 Jul 2016 19:40:20 -0400 Received: from mail-sn1nam02on0058.outbound.protection.outlook.com ([104.47.36.58]:19088 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S964812AbcGZXkT (ORCPT ); Tue, 26 Jul 2016 19:40:19 -0400 X-Greylist: delayed 1823 seconds by postgrey-1.27 at vger.kernel.org; Tue, 26 Jul 2016 19:40:19 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oSfjNDr4Pc6WRL6dYGj6AkfWIQbz9XU+loAitrXB4MA=; b=g7K/NNHZOrwM27vG5fbbBDPLDRrt4BhC9+/r8JxPSdwstOm4LgNVIlOdSzv6DgFXxh+C1mJvNPxEIkfM4nC3xzdMw101PxuFK/efQkUHBckmtJDpHWAa6R+OITEHEGXOxMaEwD2ZHNVFHur6u5VFwrDmcjif/0N+n28j0R0BuSU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [10.236.19.42] (165.204.77.1) by BY2PR12MB0338.namprd12.prod.outlook.com (10.162.84.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.10; Tue, 26 Jul 2016 23:09:49 +0000 Subject: [PATCH] crypto: ccp - Fix non-conforming comment style From: Gary R Hook To: CC: , , Date: Tue, 26 Jul 2016 18:09:46 -0500 Message-ID: <20160726230946.29862.97863.stgit@taos> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BY2PR05CA044.namprd05.prod.outlook.com (10.141.250.34) To BY2PR12MB0338.namprd12.prod.outlook.com (10.162.84.13) X-MS-Office365-Filtering-Correlation-Id: 0f8a7a46-64f1-46ca-abcd-08d3b5a9f1c5 X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0338; 2:8SZDQN81FwN4lvG4dfr3u8qec+VBjaHa008+5GtMxH+7pQ29j5xTfhbYedlM8L89Urat4Oh4tZXqLLzG/CGzlBnrkbq7iBkbJLdypc1bvdgoxCFeRE48N2otouvH8wHuKT7w+7Z9kAuW2Q57Njt5mkBmi9W3wz59LBOYiKGal3KKQ1SmRhVERxZ1whD7vxGe; 3:rnA++l3W86to4dZDxkPi7iUqU+IguwJmr1btIh2scyiyBpt6lNXyg84Nj0BVI8Qjo8KogYlWBuZH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Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:BY2PR12MB0338; BCL:0; PCL:0; RULEID:; SRVR:BY2PR12MB0338; X-Forefront-PRVS: 00159D1518 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(189002)(199003)(81166006)(19580395003)(23676002)(66066001)(54356999)(50986999)(7736002)(19580405001)(7846002)(305945005)(83506001)(81156014)(33646002)(50466002)(33716001)(97746001)(77096005)(101416001)(105586002)(2906002)(68736007)(86362001)(2351001)(8676002)(586003)(6116002)(97736004)(1076002)(4326007)(47776003)(103116003)(92566002)(42186005)(9686002)(189998001)(229853001)(106356001)(110136002)(4001350100001)(3846002)(230700001)(71626007); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR12MB0338; H:[10.236.19.42]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjEyTUIwMzM4OzIzOndnT2dQN3duZUhIWFFuS0t4dWhhZE5HQXdi?= =?utf-8?B?NVRuNStZdVA4ejVYUFd5S0RjbU9KMjB2VmdmeFc4WXdodEw5OEgvZnd2UzU3?= =?utf-8?B?b0lwRS9vQ1E3cFI4dmlqUk1hUy91L0tWK2JDU2pQbVdMSXpROVNpdmZEZDBa?= =?utf-8?B?ZlV6ek15d3h0d01oWk4zY2M0Tys3Y2JXRExXQmRUeWQ5aG1rWG9OZjd5R2hx?= =?utf-8?B?cFdPWUgxWC84TzB0MlgwM0ZxL05iSWFvbVZGUS9LT2s5dXVKdnRLODRNUlBj?= =?utf-8?B?Nmg1cWNucDI1TWErSm5ZS296S0ZXZEdwV3N4a29GTXhLSk1lc01XSG5GRUxN?= =?utf-8?B?THRhZHF5cFVyMHU3U1dlUnA2bFMxSEdOL05WTDBlKyttM1l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B4SJdOYuG2ZSd0PcEXhNJFb4gHO1g41ImCtMEIV3/w8lF9vWIV8GSKxa8Qc8/u40uhiIryCbZwn9CMW5NkhGmzoYuHigSqXxWvmdj8M+Tj9+mTmQhdBsoy0MerChO0Q2hpEK1UeZJHssSXh5mq0dP5mwfT+kCzxDCUQkTS1n5YM/Jad2sNxuw2LDgpGD0UjnWAwy344j3x2p3LIQPn2bsbygK2uFdVn SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0338; 20:+TQH63SULj7/7Vmg6n4KiGd89qd+arRbIdOvhL/kXfqg/5uakGT0a/sKwY24jlyER/P1GTbnIFevSXBFwfV5v1Crw17jW6ApwITbLUjDLxGXQV75BsHgcKcNKn3wI1arfb86WH/1QQmAS5j6hpT47ruLsFChZr1XVUhyg9DtH/F8juOOAqZ8XhtYFpQf4APC6Ds0MP6rPIyblaEn4J8FU2fUjf1+IHC3gM/3JCheXS/lCM6nlJLLeTsY4qGYECpc; 23:BWrmZCP7zkdC2CLKXtsM43GUASjj7Ro2GoDgL6QJeY4wR+1AedpwSXM8So5hhg+lJx3UuyvIAAysd+e2gnnmtLXLUh9jX4kMuC0Lbaam5uaUtX79EEs+7sLYVe7zrThD1ln18ZOrb9ZZcyUV/uBwnTSo+ji35Rd2DdjfmJ8daWBBDoW6/O3f4VfRHG7odcha X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2016 23:09:49.6223 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0338 X-OriginatorOrg: amd.com Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adhere to the cryptodev comment convention. Signed-off-by: Gary R Hook --- drivers/crypto/ccp/ccp-dev.h | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h index bd41ffce..5fbee638 100644 --- a/drivers/crypto/ccp/ccp-dev.h +++ b/drivers/crypto/ccp/ccp-dev.h @@ -253,16 +253,14 @@ struct ccp_device { struct device *dev; - /* - * Bus specific device information + /* Bus specific device information */ void *dev_specific; int (*get_irq)(struct ccp_device *ccp); void (*free_irq)(struct ccp_device *ccp); unsigned int irq; - /* - * I/O area used for device communication. The register mapping + /* I/O area used for device communication. The register mapping * starts at an offset into the mapped bar. * The CMD_REQx registers and the Delete_Cmd_Queue_Job register * need to be protected while a command queue thread is accessing @@ -272,8 +270,7 @@ struct ccp_device { void __iomem *io_map; void __iomem *io_regs; - /* - * Master lists that all cmds are queued on. Because there can be + /* Master lists that all cmds are queued on. Because there can be * more than one CCP command queue that can process a cmd a separate * backlog list is neeeded so that the backlog completion call * completes before the cmd is available for execution. @@ -283,34 +280,29 @@ struct ccp_device { struct list_head cmd; struct list_head backlog; - /* - * The command queues. These represent the queues available on the + /* The command queues. These represent the queues available on the * CCP that are available for processing cmds */ struct ccp_cmd_queue cmd_q[MAX_HW_QUEUES]; unsigned int cmd_q_count; - /* - * Support for the CCP True RNG + /* Support for the CCP True RNG */ struct hwrng hwrng; unsigned int hwrng_retries; - /* - * Support for the CCP DMA capabilities + /* Support for the CCP DMA capabilities */ struct dma_device dma_dev; struct ccp_dma_chan *ccp_dma_chan; struct kmem_cache *dma_cmd_cache; struct kmem_cache *dma_desc_cache; - /* - * A counter used to generate job-ids for cmds submitted to the CCP + /* A counter used to generate job-ids for cmds submitted to the CCP */ atomic_t current_id ____cacheline_aligned; - /* - * The CCP uses key storage blocks (KSB) to maintain context for certain + /* The CCP uses key storage blocks (KSB) to maintain context for certain * operations. To prevent multiple cmds from using the same KSB range * a command queue reserves a KSB range for the duration of the cmd. * Each queue, will however, reserve 2 KSB blocks for operations that