Skip to contentSkip to conversation

Staging: rtl8192u: Convert comment from C99 to C89 style.

PATCH In review Ksenija Stanojevic 2 participants 2 messages Feb 21, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: rtl8192u: Convert comment from C99 to C89 style.

Kernel style for comments is C89 style. Issue found by checkpatch.pl.

---
v2: fix e-mail address in Signed-off-by

 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c +2 -2
index 447af93..a826d88 100644
@@ -5,13 +5,13 @@
  * Portions Copyright (C) 2004, Intel Corporation <[email protected]>
  *
  * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
+i * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation. See README and COPYING for
  * more details.
  *
  */
 
-//#include <linux/config.h>
+/* #include <linux/config.h> */
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/slab.h>
Signature · 1 line
1.9.1
#1 lore raw
Quoted 13 lines · Ksenija Stanojevic

Kernel style for comments is C89 style. Issue found by checkpatch.pl.

---
v2: fix e-mail address in Signed-off-by

 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c +0 -0
index 447af93..a826d88 100644

drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c line 8

Quoted 5 lines
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c +1 -1
@@ -5,13 +5,13 @@
  * Portions Copyright (C) 2004, Intel Corporation <[email protected]>
  *
  * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
+i * it under the terms of the GNU General Public License version 2 as

Something strange happened here.

julia

Quoted 20 lines
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c +1 -1
  * published by the Free Software Foundation. See README and COPYING for
  * more details.
  *
  */
 
-//#include <linux/config.h>
+/* #include <linux/config.h> */
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/slab.h>
Signature · 8 lines
1.9.1

-- 
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1424510597-4149-1-git-send-email-ksenija.stanojevic%40gmail.com.
For more options, visit https://groups.google.com/d/optout.