Skip to contentSkip to conversation

Net: wireless: ath: fix macros coding style issue in hw.c

PATCH In review Luis de Bethencourt 2 participants 2 messages Mar 29, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Net: wireless: ath: fix macros coding style issue in hw.c

From: Luis de Bethencourt <[email protected]>

This is a patch to the ath/hw.c file that fixes up a warning about macros found by the checkpatch.pl tool, that said that complex values should be enclosed in parenthesis.

---
 drivers/net/wireless/ath/hw.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/ath/hw.c +2 -2
index ecc9eb0..a8f81ea 100644
@@ -19,8 +19,8 @@
 #include "ath.h"
 #include "reg.h"
 
-#define REG_READ	common->ops->read
-#define REG_WRITE	common->ops->write
+#define REG_READ	(common->ops->read)
+#define REG_WRITE	(common->ops->write)
 
 /**
  * ath_hw_set_bssid_mask - filter out bssids we listen
Signature · 1 line
1.6.3.3