Skip to contentSkip to conversation

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

PATCH Superseded Ksenija Stanojevic 2 participants 2 messages Feb 21, 2015 – Feb 26, 2015 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

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

---
 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
maintainer
#1 lore raw
Quoted 12 lines · Ksenija Stanojevic

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

---
 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

I don't think this line is correct :(

And nice to see you are using vim :)

Please fix up and resend.

thanks,

greg k-h