lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20170810125326.GA2927@localhost.localdomain>
Date:   Thu, 10 Aug 2017 18:23:26 +0530
From:   Harold Gomez <haroldgmz11@...il.com>
To:     mchehab@...nel.org
Cc:     gregkh@...uxfoundation.org, linux-media@...r.kernel.org,
        devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH] media:staging:atomisp:ap1302: Fix comment style

fix comment style to avoid warning from
checkpatch.pl script

Signed-off-by: Harold Gomez <haroldgmz11@...il.com>
---
 drivers/staging/media/atomisp/i2c/ap1302.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/media/atomisp/i2c/ap1302.c b/drivers/staging/media/atomisp/i2c/ap1302.c
index fd0f2ac..7a0c0d5 100644
--- a/drivers/staging/media/atomisp/i2c/ap1302.c
+++ b/drivers/staging/media/atomisp/i2c/ap1302.c
@@ -235,11 +235,14 @@ static u16
 ap1302_calculate_context_reg_addr(enum ap1302_contexts context, u16 offset)
 {
 	u16 reg_addr;
-	/* The register offset is defined according to preview/video registers.
-	   Preview and video context have the same register definition.
-	   But snapshot context does not have register S1_SENSOR_MODE.
-	   When setting snapshot registers, if the offset exceeds
-	   S1_SENSOR_MODE, the actual offset needs to minus 2. */
+	/*
+	 * The register offset is defined according to preview/video registers.
+	 * Preview and video context have the same register definition.
+	 * But snapshot context does not have register S1_SENSOR_MODE.
+	 * When setting snapshot registers, if the offset exceeds
+	 * S1_SENSOR_MODE, the actual offset needs to minus 2.
+	 *
+	 */
 	if (context == CONTEXT_SNAPSHOT) {
 		if (offset == CNTX_S1_SENSOR_MODE)
 			return 0;
-- 
2.1.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ