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


Groups > linux.kernel > #1652834

[PATCH V2 11/27] Drivers: ccree: ssi_fips_local.c - align block comments

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Derek Robson <robsonde@gmail.com>
Newsgroups linux.kernel
Subject [PATCH V2 11/27] Drivers: ccree: ssi_fips_local.c - align block comments
Date Tue, 30 May 2017 08:20:02 +0200
Message-ID <tMIFA-3sh-27@gated-at.bofh.it> (permalink)
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=e0xbfWfMs8cMECtzqOZ2zAsXJx3zU1l5oPK24Nn3mFE=; b=EBZLzW3s0eLnS1WzNFCg39MBOF9HKASSYaWQ3VXDEbDG7JUDxoQKmXwlvpEWwpavks 0qj6kZ/3q9uUh5uuizPBp5BTLcAgr71iFhFgqyy3Bmk2nd4ZIO0XIWhSGqSLN2jCWXv9 5oPwY6joLN7Pgi7PAt8yNGLotclAjOPiEpz5VXivT28CBbGslDQ2jVGVN0RXikJAHk0K whgRQlnxg0ZzzIDThQqyZD/55gzYiHPDr84ky20zY6VdaMyFQCb3AOzo87zD4MmR+fnE Nw5d86VGiUQRpdzty2BxlBtQ5Oi/4X8/jUZM08xJrceOkv3+A5oYv8yAC6EALMyUF80N PsZA==
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=e0xbfWfMs8cMECtzqOZ2zAsXJx3zU1l5oPK24Nn3mFE=; b=RsVfb1L5Uo+vATQrxVkxKzPonebw7MCyudQOTmXoTlGxc+wH4ttyBDSBxUHLOJz7te ndyKJR61sGO8rc4r0/Kp/y9hROm4Nxcop1jYtuX0aTn0bPh1lccDyjmBlT0h1o+OT7MU SmvxTIwir4cxl1sIr6ZpNbaElXe8kvBWFXe6Bb/BlKiwc9S7nGDKQVshXMBcoVIWG520 ZfLRiTgJ528jCtisjkaaHdFwNml7yCqGCAcqZQeJj/Ed9YpGy9JEtVYjexjeBQq2GbLD 2AC9TVWxFGgvx/zXTs+8uT2e+1ZLhQnbtpYwElXJ1RW4VgwoQHlW//7zqNQmsvWnpoC+ h0/g==
X-Gm-Message-State AODbwcAI6AU+C3E9vPZlpuAyHKUajrEXdrRYOJhAhopxTat3SEfmFJ2s LdsfPgaLeDe/Dg==
X-Received by 10.99.175.18 with SMTP id w18mr23478328pge.183.1496124784152; Mon, 29 May 2017 23:13:04 -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 69
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:12:53 +1200
X-Original-Message-ID <20170530061253.13488-1-robsonde@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1652834

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_fips_local.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/ccree/ssi_fips_local.c b/drivers/staging/ccree/ssi_fips_local.c
index 316507d88b4e..8076c771f750 100644
--- a/drivers/staging/ccree/ssi_fips_local.c
+++ b/drivers/staging/ccree/ssi_fips_local.c
@@ -15,8 +15,8 @@
  */
 
 /**************************************************************
-This file defines the driver FIPS internal function, used by the driver itself.
-***************************************************************/
+ * This file defines the driver FIPS internal function, used by the driver itself.
+ ***************************************************************/
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
@@ -80,10 +80,10 @@ static enum ssi_fips_error ssi_fips_get_tee_error(struct ssi_drvdata *drvdata)
 
 
 /*
- This function should push the FIPS REE library status towards the TEE library.
- By writing the error state to HOST_GPR0 register. The function is called from  						.
- driver entry point so no need to protect by mutex.
-*/
+ * This function should push the FIPS REE library status towards the TEE library.
+ * By writing the error state to HOST_GPR0 register. The function is called from
+ * driver entry point so no need to protect by mutex.
+ */
 static void ssi_fips_update_tee_upon_ree_status(struct ssi_drvdata *drvdata, ssi_fips_error_t err)
 {
 	void __iomem *cc_base = drvdata->cc_base;
@@ -232,7 +232,8 @@ ssi_fips_error_t cc_fips_run_power_up_tests(struct ssi_drvdata *drvdata)
 
 
 /* The function checks if FIPS supported and FIPS error exists.*
-*  It should be used in every driver API.*/
+ * It should be used in every driver API.
+ */
 int ssi_fips_check_fips_error(void)
 {
 	ssi_fips_state_t fips_state;
@@ -250,14 +251,16 @@ int ssi_fips_check_fips_error(void)
 
 
 /* The function sets the REE FIPS state.*
-*  It should be used while driver is being loaded .*/
+ * It should be used while driver is being loaded.
+ */
 int ssi_fips_set_state(ssi_fips_state_t state)
 {
 	return ssi_fips_ext_set_state(state);
 }
 
 /* The function sets the REE FIPS error, and pushes the error to TEE library. *
-*  It should be used when any of the KAT tests fails .*/
+ * It should be used when any of the KAT tests fails.
+ */
 int ssi_fips_set_error(struct ssi_drvdata *p_drvdata, ssi_fips_error_t err)
 {
 	int rc = 0;
-- 
2.13.0

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


Thread

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

csiph-web