[PATCH 1/2] staging: rtl8192u: r819xU_firmware.h: fix do not use c99 comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixed coding style error "do not use c99 comments" detected by 
checkpatch.pl in r819xU_firmware.h

Signed-off-by: Buţiu Alexandru Octavian <predator5047@xxxxxxxxx>
---
 drivers/staging/rtl8192u/r819xU_firmware.h | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/rtl8192u/r819xU_firmware.h b/drivers/staging/rtl8192u/r819xU_firmware.h
index cfa2223..967a61a 100644
--- a/drivers/staging/rtl8192u/r819xU_firmware.h
+++ b/drivers/staging/rtl8192u/r819xU_firmware.h
@@ -2,15 +2,18 @@
 #define __INC_FIRMWARE_H
 
 #define RTL8190_CPU_START_OFFSET	0x80
-/* TODO: this definition is TBD */
-//#define USB_HWDESC_HEADER_LEN	0
+/* TODO: this definition is TBD
+ * #define USB_HWDESC_HEADER_LEN	0
+ */
 
-/* It should be double word alignment */
-//#if DEV_BUS_TYPE==PCI_INTERFACE
-//#define GET_COMMAND_PACKET_FRAG_THRESHOLD(v)	4*(v/4) - 8
-//#else
+/*
+ * It should be double word alignment
+ * #if DEV_BUS_TYPE==PCI_INTERFACE
+ * #define GET_COMMAND_PACKET_FRAG_THRESHOLD(v)	4*(v/4) - 8
+ * #else
+ */
 #define GET_COMMAND_PACKET_FRAG_THRESHOLD(v)	(4*(v/4) - 8 - USB_HWDESC_HEADER_LEN)
-//#endif
+/* #endif */
 
 typedef enum _firmware_init_step {
 	FW_INIT_STEP0_BOOT = 0,
-- 
2.1.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel





[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux