]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
rt2x00: checkpatch.pl error fixes for rt2400pci.h
authorMark Einon <mark.einon@gmail.com>
Sat, 6 Nov 2010 14:44:00 +0000 (15:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:13 +0000 (13:26 -0500)
rt2400pci.h:812: ERROR: space prohibited after that open parenthesis '('
rt2400pci.h:812: ERROR: space prohibited before that close parenthesis ')'
rt2400pci.h:813: ERROR: space prohibited after that open parenthesis '('
rt2400pci.h:813: ERROR: space prohibited before that close parenthesis ')'
rt2400pci.h:950: ERROR: Macros with complex values should be enclosed in parenthesis

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2400pci.h

index c048b18f41331e747c152ffeb4f7a18b8d35b56a..d3a4a68cc439b22faea7f6e9d4899e9313e5a7e2 100644 (file)
 /*
  * DMA descriptor defines.
  */
-#define TXD_DESC_SIZE                  ( 8 * sizeof(__le32) )
-#define RXD_DESC_SIZE                  ( 8 * sizeof(__le32) )
+#define TXD_DESC_SIZE                  (8 * sizeof(__le32))
+#define RXD_DESC_SIZE                  (8 * sizeof(__le32))
 
 /*
  * TX descriptor format for TX, PRIO, ATIM and Beacon Ring.
        ((__CLAMP_TX(__txpower) - MAX_TXPOWER) + MIN_TXPOWER)
 
 #define TXPOWER_TO_DEV(__txpower) \
-       MAX_TXPOWER - (__CLAMP_TX(__txpower) - MIN_TXPOWER)
+       (MAX_TXPOWER - (__CLAMP_TX(__txpower) - MIN_TXPOWER))
 
 #endif /* RT2400PCI_H */