mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rahul Garg <rahul.lnmiit@gmail.com>
To: gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Rahul Garg <rahul.lnmiit@gmail.com>
Subject: [PATCH] staging: vt6655: coding style: Fixed commenting style Few lines were crossing 80 characters limit
Date: Sun, 27 Jul 2014 16:51:43 +0530	[thread overview]
Message-ID: <1406460103-28069-1-git-send-email-rahul.lnmiit@gmail.com> (raw)

Signed-off-by: Rahul Garg <rahul.lnmiit@gmail.com>
---
 drivers/staging/vt6655/tcrc.c |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vt6655/tcrc.c b/drivers/staging/vt6655/tcrc.c
index ed6868a..bf8d4c3 100644
--- a/drivers/staging/vt6655/tcrc.c
+++ b/drivers/staging/vt6655/tcrc.c
@@ -41,7 +41,7 @@
 
 /*---------------------  Static Variables  --------------------------*/
 
-// 32-bit CRC table
+/* 32-bit CRC table */
 static const unsigned long s_adwCrc32Table[256] = {
 	0x00000000L, 0x77073096L, 0xEE0E612CL, 0x990951BAL,
 	0x076DC419L, 0x706AF48FL, 0xE963A535L, 0x9E6495A3L,
@@ -129,13 +129,15 @@ static const unsigned long s_adwCrc32Table[256] = {
  * Return Value: CRC-32
  *
  -*/
-unsigned long CRCdwCrc32(unsigned char *pbyData, unsigned int cbByte, unsigned long dwCrcSeed)
+unsigned long CRCdwCrc32(unsigned char *pbyData, unsigned int cbByte,
+			unsigned long dwCrcSeed)
 {
 	unsigned long dwCrc;
 
 	dwCrc = dwCrcSeed;
 	while (cbByte--) {
-		dwCrc = s_adwCrc32Table[(unsigned char)((dwCrc ^ (*pbyData)) & 0xFF)] ^ (dwCrc >> 8);
+		dwCrc = s_adwCrc32Table[(unsigned char)((dwCrc ^ (*pbyData))
+					& 0xFF)] ^ (dwCrc >> 8);
 		pbyData++;
 	}
 
@@ -185,7 +187,8 @@ unsigned long CRCdwGetCrc32(unsigned char *pbyData, unsigned int cbByte)
  * Return Value: CRC-32
  *
  -*/
-unsigned long CRCdwGetCrc32Ex(unsigned char *pbyData, unsigned int cbByte, unsigned long dwPreCRC)
+unsigned long CRCdwGetCrc32Ex(unsigned char *pbyData,
+			unsigned int cbByte, unsigned long dwPreCRC)
 {
 	return CRCdwCrc32(pbyData, cbByte, dwPreCRC);
 }
-- 
1.7.9.5


             reply	other threads:[~2014-07-27 11:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-27 11:21 Rahul Garg [this message]
2014-07-27 16:03 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1406460103-28069-1-git-send-email-rahul.lnmiit@gmail.com \
    --to=rahul.lnmiit@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome