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 – Feb 26, 2015 1 message not in the archive Staging

lore
Share & tools
lore
#1 lore raw

PATCH 2/3 Staging: rtl8192u: Convert comment from C99 to C89 style

In reply to a message not in the archive

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

---
 drivers/staging/rtl8192u/r8190_rtl8256.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/r8190_rtl8256.h +1 -1
index ddddd70..7a5a388 100644
@@ -13,7 +13,7 @@
 #ifndef RTL8225H
 #define RTL8225H
 
-#define RTL819X_TOTAL_RF_PATH 2 //for 8192U
+#define RTL819X_TOTAL_RF_PATH 2 /* for 8192U */
 extern void PHY_SetRF8256Bandwidth(struct net_device *dev, HT_CHANNEL_WIDTH Bandwidth);
 extern void PHY_RF8256_Config(struct net_device *dev);
 extern void phy_RF8256_Config_ParaFile(struct net_device *dev);
Signature · 1 line
1.9.1
maintainer
#2 lore raw
Quoted 22 lines · Ksenija Stanojevic

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

---
 drivers/staging/rtl8192u/r8190_rtl8256.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/r8190_rtl8256.h +1 -1
index ddddd70..7a5a388 100644
@@ -13,7 +13,7 @@
 #ifndef RTL8225H
 #define RTL8225H
 
-#define RTL819X_TOTAL_RF_PATH 2 //for 8192U
+#define RTL819X_TOTAL_RF_PATH 2 /* for 8192U */
 extern void PHY_SetRF8256Bandwidth(struct net_device *dev, HT_CHANNEL_WIDTH Bandwidth);
 extern void PHY_RF8256_Config(struct net_device *dev);
 extern void phy_RF8256_Config_ParaFile(struct net_device *dev);
Signature · 1 line
1.9.1

This patch doesn't apply :(