Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1652831

[PATCH V2 17/27] Drivers: ccree: ssi_driver.h - align block comments

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Derek Robson <robsonde@gmail.com>
Newsgroups linux.kernel
Subject [PATCH V2 17/27] Drivers: ccree: ssi_driver.h - align block comments
Date Tue, 30 May 2017 08:20:02 +0200
Message-ID <tMIFA-3sh-19@gated-at.bofh.it> (permalink)
X-Original-To gilad@benyossef.com, gregkh@linuxfoundation.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=GE8NrHew3rNgheTuA0KC0ySocPxyjtfxAjfxpKWD2tA=; b=YjSczBE2gIVWH9fmXNVPvKG3ZBZf4x1wz/CtMPthmP3QdJDOIzCEJ8VkaO40TJbz7a LRWirVGkvjwLelMSJ3ldgitUbe76miRrHlzkfGDRGZhDTGOo/BiLwvOrNru+qmR6boE0 KGAxj8v+khVidyIWuTGc4flG39LBMNwnR2HTuh/RghHVwxDHSrTIkqjgcf/JRFuwTHk/ ClWsi1YEhvPDdK/+HepPnJadDHfWn4R3mKA2A66QaJBUNOmgeZfFj3O8L8SgH1BcUYjg sPTiTMfGOT2lLLFlXmFqzVsViPgvHZqwMAlCT/vogzXguX3kYm0e4od/TbP+9YZiZIwl nvrw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GE8NrHew3rNgheTuA0KC0ySocPxyjtfxAjfxpKWD2tA=; b=gi7dg7LSUAlWt2Qprg1Un+JB1WDBV4enXHXz06gSfC+cVYRvdeC8hnMPq4Vi/1S7dR 9ATabBt7DeXbYXqF5hnbAQJqSvut1vvHVrswslVCMwQmRkJ/u/0vJvqTrMqQZnub5oc8 pe7rQeo1ajraYSNvOd2/1Odqb4Z9zpeKA6F/8Gj8h9v6aXsLyY6p3GTqtugVXh8+3jHo 2g02/Ag94IVPzjjy0ThMW5OyzOTiy+Fj5jLu4XCo0YQpWuDSIxyCObI15r/qoH+lIdfj +XwiFpbEp9IRqSlwZHCYC1VYyxaRiFgdYuVwuUrdOPRV54zr/jcf/+qFBBN/flSaLZlC ugbA==
X-Gm-Message-State AODbwcDzazyEJiUEdBNA+QUu6+5PTFmEVEAPp6XWEaMDJApxB82HT21l IVlB9F2pCb2SLg==
X-Received by 10.99.161.25 with SMTP id b25mr23133794pgf.26.1496124889176; Mon, 29 May 2017 23:14:49 -0700 (PDT)
X-Mailer git-send-email 2.13.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 58
Organization linux.* mail to news gateway
X-Original-Cc linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Derek Robson <robsonde@gmail.com>
X-Original-Date Tue, 30 May 2017 18:14:38 +1200
X-Original-Message-ID <20170530061438.13768-1-robsonde@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1652831

Show key headers only | View raw


Fixed block comment alignment, Style fix only
Found using checkpatch

Signed-off-by: Derek Robson <robsonde@gmail.com>
---
 drivers/staging/ccree/ssi_driver.h | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/ccree/ssi_driver.h b/drivers/staging/ccree/ssi_driver.h
index 45fc23fe169f..e034b0987137 100644
--- a/drivers/staging/ccree/ssi_driver.h
+++ b/drivers/staging/ccree/ssi_driver.h
@@ -15,7 +15,7 @@
  */
 
 /* \file ssi_driver.h
-   ARM CryptoCell Linux Crypto Driver
+ * ARM CryptoCell Linux Crypto Driver
  */
 
 #ifndef __SSI_DRIVER_H__
@@ -86,7 +86,8 @@
 #define NS_BIT 1
 #define AXI_ID 0
 /* AXI_ID is not actually the AXI ID of the transaction but the value of AXI_ID
-   field in the HW descriptor. The DMA engine +8 that value. */
+ * field in the HW descriptor. The DMA engine +8 that value.
+ */
 
 /* Logging macros */
 #define SSI_LOG(level, format, ...) \
@@ -108,9 +109,11 @@
 struct ssi_crypto_req {
 	void (*user_cb)(struct device *dev, void *req, void __iomem *cc_base);
 	void *user_arg;
-	dma_addr_t ivgen_dma_addr[SSI_MAX_IVGEN_DMA_ADDRESSES]; /* For the first 'ivgen_dma_addr_len' addresses of this array,
-					 generated IV would be placed in it by send_request().
-					 Same generated IV for all addresses! */
+	dma_addr_t ivgen_dma_addr[SSI_MAX_IVGEN_DMA_ADDRESSES];
+	/* For the first 'ivgen_dma_addr_len' addresses of this array,
+ 	 * generated IV would be placed in it by send_request().
+ 	 * Same generated IV for all addresses!
+ 	 */
 	unsigned int ivgen_dma_addr_len; /* Amount of 'ivgen_dma_addr' elements to be filled. */
 	unsigned int ivgen_size; /* The generated IV size required, 8/16 B allowed. */
 	struct completion seq_compl; /* request completion */
@@ -136,7 +139,8 @@ struct ssi_drvdata {
 	u32 irq_mask;
 	u32 fw_ver;
 	/* Calibration time of start/stop
-	*  monitor descriptors */
+	 * monitor descriptors
+	 */
 	u32 monitor_null_cycles;
 	struct platform_device *plat_dev;
 	ssi_sram_addr_t mlli_sram_addr;
-- 
2.13.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH V2 17/27] Drivers: ccree: ssi_driver.h - align block comments Derek Robson <robsonde@gmail.com> - 2017-05-30 08:20 +0200

csiph-web