mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johan Meiring <johanmeiring@gmail.com>
To: pe1dnn@amsat.org, jkosina@suse.cz, standby24x7@gmail.com,
	viro@zeniv.linux.org.uk, gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	Johan Meiring <johanmeiring@gmail.com>
Subject: [PATCH 06/32] staging: wlags49_h2: ap_h25: corrects incorrect use of // comments
Date: Fri, 30 Nov 2012 18:58:31 +0200	[thread overview]
Message-ID: <1354294737-5735-6-git-send-email-johanmeiring@gmail.com> (raw)
In-Reply-To: <1354294737-5735-1-git-send-email-johanmeiring@gmail.com>

This commit converts C99 // comments to /* */

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
---
 drivers/staging/wlags49_h2/ap_h25.c |   68 +++++++++++++++++------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

diff --git a/drivers/staging/wlags49_h2/ap_h25.c b/drivers/staging/wlags49_h2/ap_h25.c
index f578800..d3a0faa 100644
--- a/drivers/staging/wlags49_h2/ap_h25.c
+++ b/drivers/staging/wlags49_h2/ap_h25.c
@@ -24,10 +24,10 @@
  */
 
 
-#include "hcfcfg.h"		// to get hcf_16 etc defined as well as
-				// possible settings which inluence mdd.h or dhf.h
-#include "mdd.h"		// to get COMP_ID_STA etc defined
-#include "dhf.h"		// used to be fhfmem.h, to get memblock,plugrecord,
+#include "hcfcfg.h"	/* to get hcf_16 etc defined as well as */
+			/* possible settings which inluence mdd.h or dhf.h */
+#include "mdd.h"	/* to get COMP_ID_STA etc defined */
+#include "dhf.h"	/* used to be fhfmem.h, to get memblock,plugrecord, */
 
 static const hcf_8 fw_image_1_data[] = {
 	 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@@ -3999,56 +3999,56 @@ static const CFG_IDENTITY_STRCT fw_image_infoidentity[] = {
 		sizeof(CFG_IDENTITY_STRCT) / sizeof(hcf_16) - 1,
 		CFG_FW_IDENTITY,
 		COMP_ID_FW_AP,
-		3,							//Variant
-		1,							//Major
-		24							//Minor
+		3,	/* Variant */
+		1,	/* Major */
+		24	/* Minor */
 	},
-	{ 0000, 0000, 0000, 0000, 0000, 0000 }		//endsentinel
+	{ 0000, 0000, 0000, 0000, 0000, 0000 }	/* endsentinel */
 };
 
 static const CFG_PROG_STRCT fw_image_code[] = {
 	{
 		8,
 		CFG_PROG,
-		CFG_PROG_VOLATILE,			// mode
-		0x0148,		// sizeof(fw_image_1_data),
-		0x00000060,					// Target address in NIC Memory
-		0x0000,						// CRC: yes/no	TYPE: primary/station/tertiary
+		CFG_PROG_VOLATILE,	/* mode */
+		0x0148,			/* sizeof(fw_image_1_data), */
+		0x00000060,		/* Target address in NIC Memory */
+		0x0000,			/* CRC: yes/no	TYPE: primary/station/tertiary */
 		(hcf_8 *)fw_image_1_data
 	},
 	{
 		8,
 		CFG_PROG,
-		CFG_PROG_VOLATILE,			// mode
-		0x2432,		// sizeof(fw_image_2_data),
-		0x00000C16,					// Target address in NIC Memory
-		0x0000,						// CRC: yes/no	TYPE: primary/station/tertiary
+		CFG_PROG_VOLATILE,	/* mode */
+		0x2432,			/* sizeof(fw_image_2_data), */
+		0x00000C16,		/* Target address in NIC Memory */
+		0x0000,			/* CRC: yes/no	TYPE: primary/station/tertiary */
 		(hcf_8 *)fw_image_2_data
 	},
 	{
 		8,
 		CFG_PROG,
-		CFG_PROG_VOLATILE,			// mode
-		0x194c,		// sizeof(fw_image_3_data),
-		0x001E3048,					// Target address in NIC Memory
-		0x0000,						// CRC: yes/no	TYPE: primary/station/tertiary
+		CFG_PROG_VOLATILE,	/*  mode */
+		0x194c,			/*  sizeof(fw_image_3_data), */
+		0x001E3048,		/*  Target address in NIC Memory */
+		0x0000,			/*  CRC: yes/no	TYPE: primary/station/tertiary */
 		(hcf_8 *)fw_image_3_data
 	},
 	{
 		8,
 		CFG_PROG,
-		CFG_PROG_VOLATILE,			// mode
-		0xb7e4,		// sizeof(fw_image_4_data),
-		0x001F4000,					// Target address in NIC Memory
-		0x0000,						// CRC: yes/no	TYPE: primary/station/tertiary
+		CFG_PROG_VOLATILE,	/* mode*/
+		0xb7e4,			/* sizeof(fw_image_4_data),*/
+		0x001F4000,		/* Target address in NIC Memory*/
+		0x0000,			/* CRC: yes/no	TYPE: primary/station/tertiary*/
 		(hcf_8 *)fw_image_4_data
 	},
 	{
 		5,
 		CFG_PROG,
-		CFG_PROG_STOP,				// mode
+		CFG_PROG_STOP,		/* mode*/
 		0000,
-	0x000F2101,					// Start execution address
+		0x000F2101,		/* Start execution address*/
 	},
 	{ 0000, 0000, 0000, 0000, 00000000, 0000, 00000000}
 };
@@ -4059,7 +4059,7 @@ static const CFG_RANGE20_STRCT fw_image_infocompat[] = {
 		COMP_ROLE_SUPL,
 		COMP_ID_APF,
 		{
-			{ 4, 1, 1 }				//variant, bottom, top
+			{ 4, 1, 1 }	/* variant, bottom, top*/
 		}
 	},
 	{	3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
@@ -4067,8 +4067,8 @@ static const CFG_RANGE20_STRCT fw_image_infocompat[] = {
 		COMP_ROLE_ACT,
 		COMP_ID_MFI,
 		{
-			{ 7, 3, 3 },				//variant, bottom, top
-			{ 8, 1, 1 }				//variant, bottom, top
+			{ 7, 3, 3 },	/* variant, bottom, top */
+			{ 8, 1, 1 }	/* variant, bottom, top */
 		}
 	},
 	{	3 + ((20 * sizeof(CFG_RANGE_SPEC_STRCT)) / sizeof(hcf_16)),
@@ -4076,18 +4076,18 @@ static const CFG_RANGE20_STRCT fw_image_infocompat[] = {
 		COMP_ROLE_ACT,
 		COMP_ID_CFI,
 		{
-			{ 4, 1, 2 }				//variant, bottom, top
+			{ 4, 1, 2 }	/* variant, bottom, top */
 		}
 	},
-	{ 0000, 0000, 0000, 0000, { { 0000, 0000, 0000 } } }			//endsentinel
+	{ 0000, 0000, 0000, 0000, { { 0000, 0000, 0000 } } }	/* endsentinel */
 };
 
 memimage fw_image = {
-	"FUPU7D37dhfwci\001C",			//signature, <format number>, C/Bin type
+	"FUPU7D37dhfwci\001C",			/* signature, <format number>, C/Bin type */
 	(CFG_PROG_STRCT *) fw_image_code,
 	0x000F2101,
-	00000000,					//(dummy) pdaplug
-	00000000,					//(dummy) priplug
+	00000000,				/* (dummy) pdaplug */
+	00000000,				/* (dummy) priplug */
 	(CFG_RANGE20_STRCT *) fw_image_infocompat,
 	(CFG_IDENTITY_STRCT *) fw_image_infoidentity,
 };
-- 
1.7.10.4


  parent reply	other threads:[~2012-11-30 17:00 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-30 16:58 [PATCH 01/32] staging: wlags49_h2: ap_h2: corrects a pointer styling issue Johan Meiring
2012-11-30 16:58 ` [PATCH 02/32] staging: wlags49_h2: ap_h25: corrects tabs/spaces syling issues Johan Meiring
2012-11-30 16:58 ` [PATCH 03/32] staging: wlags49_h2: ap_h25: corrects parentheses styling issue Johan Meiring
2012-11-30 16:58 ` [PATCH 04/32] staging: wlags49_h2: ap_h25: corrects malformed #include warning Johan Meiring
2012-11-30 16:58 ` [PATCH 05/32] staging: wlags49_h2: ap_h25: corrects casting styling issue Johan Meiring
2012-11-30 16:58 ` Johan Meiring [this message]
2012-11-30 16:58 ` [PATCH 07/32] staging: wlags49_h2: wl_enc: converts indentation spaces to tabs Johan Meiring
2012-11-30 16:58 ` [PATCH 08/32] staging: wlags49_h2: wl_enc: corrects spacing around parentheses Johan Meiring
2012-11-30 16:58 ` [PATCH 09/32] staging: wlags49_h2: wl_enc: corrects spacing around colons Johan Meiring
2012-11-30 16:58 ` [PATCH 10/32] staging: wlags49_h2: wl_enc: fixes incorrect use of return Johan Meiring
2012-11-30 16:58 ` [PATCH 11/32] staging: wlags49_h2: wl_priv.h: fixes spacing around parentheses Johan Meiring
2012-11-30 16:58 ` [PATCH 12/32] staging: wlags49_h2: wl_priv.h: converts C99 // comments Johan Meiring
2012-11-30 16:58 ` [PATCH 13/32] staging: wlags49_h2: wl_priv.h: fixes instances of 80+ char lines Johan Meiring
2012-11-30 16:58 ` [PATCH 14/32] staging: wlags49_h2: wl_netdev.h: converts C99 // comments Johan Meiring
2012-11-30 16:58 ` [PATCH 15/32] staging: wlags49_h2: wl_netdev.h: sorts out spacing issues Johan Meiring
2012-11-30 16:58 ` [PATCH 16/32] staging: wlags49_h2: sta_h2: fixes spaces-before-tabs problems Johan Meiring
2012-11-30 16:58 ` [PATCH 17/32] staging: wlags49_h2: sta_h2: fixes malformed #include filename Johan Meiring
2012-11-30 16:58 ` [PATCH 18/32] staging: wlags49_h2: sta_h2: fixes spaces around parentheses Johan Meiring
2012-11-30 16:58 ` [PATCH 19/32] staging: wlags49_h2: sta_h2: fixes casting style issue Johan Meiring
2012-11-30 16:58 ` [PATCH 20/32] staging: wlags49_h2: sta_h2: corrects C99 // comments Johan Meiring
2012-11-30 16:58 ` [PATCH 21/32] staging: wlags49_h2: wl_profile.h: fixes spacing around parentheses Johan Meiring
2012-11-30 16:58 ` [PATCH 22/32] staging: wlags49_h2: wl_profile.h: fixes C99 // comment Johan Meiring
2012-11-30 16:58 ` [PATCH 23/32] staging: wlags49_h2: wl_priv: fixes spacing around parentheses Johan Meiring
2012-11-30 16:58 ` [PATCH 24/32] staging: wlags49_h2: wl_priv: fixes parentheses styling issues Johan Meiring
2012-11-30 16:58 ` [PATCH 25/32] staging: wlags49_h2: wl_priv: fixes incorrect #include Johan Meiring
2012-11-30 16:58 ` [PATCH 26/32] staging: wlags49_h2: wl_priv: fixes case statement styling issues Johan Meiring
2012-11-30 16:58 ` [PATCH 27/32] staging: wlags49_h2: wl_priv: fixes brace placement Johan Meiring
2012-11-30 16:58 ` [PATCH 28/32] staging: wlags49_h2: wl_priv: converts indentation to tabs Johan Meiring
2012-11-30 16:58 ` [PATCH 29/32] staging: wlags49_h2: wl_priv: converts C99 // comments Johan Meiring
2012-11-30 16:58 ` [PATCH 30/32] staging: wlags49_h2: wl_util: fixes spacing around parentheses Johan Meiring
2012-11-30 16:58 ` [PATCH 31/32] staging: wlags49_h2: wl_util: converts C99 // comment Johan Meiring
2012-11-30 16:58 ` [PATCH 32/32] staging: wlags49_h2: wl_util: corrects asterisk placement Johan Meiring

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=1354294737-5735-6-git-send-email-johanmeiring@gmail.com \
    --to=johanmeiring@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pe1dnn@amsat.org \
    --cc=standby24x7@gmail.com \
    --cc=viro@zeniv.linux.org.uk \
    /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