* [PATCH 1/8] staging: wlags49_h2: wl_if.h: fixes macro styling issues
@ 2012-11-20 14:44 Johan Meiring
0 siblings, 0 replies; only message in thread
From: Johan Meiring @ 2012-11-20 14:44 UTC (permalink / raw)
To: pe1dnn, jkosina, standby24x7, viro, gregkh
Cc: devel, linux-kernel, Johan Meiring
This commit sorts out macro styling issues that were indicated by
the checkpatch.pl script,
Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
---
drivers/staging/wlags49_h2/wl_if.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/wlags49_h2/wl_if.h b/drivers/staging/wlags49_h2/wl_if.h
index 6d66dab..d070e47 100644
--- a/drivers/staging/wlags49_h2/wl_if.h
+++ b/drivers/staging/wlags49_h2/wl_if.h
@@ -121,7 +121,7 @@
#define MAX_RTS_BYTES 2347
#define MAX_RATES 8
-#define MEGABIT 1024*1024
+#define MEGABIT (1024 * 1024)
#define HCF_FAILURE 0xFF
#define UIL_FAILURE 0xFF
@@ -154,15 +154,15 @@ UIL_FUN_GET_INFO
UIL_FUN_PUT_INFO
*/
-#define SIOCSIWNETNAME SIOCDEVPRIVATE+1
-#define SIOCGIWNETNAME SIOCDEVPRIVATE+2
-#define SIOCSIWSTANAME SIOCDEVPRIVATE+3
-#define SIOCGIWSTANAME SIOCDEVPRIVATE+4
-#define SIOCSIWPORTTYPE SIOCDEVPRIVATE+5
-#define SIOCGIWPORTTYPE SIOCDEVPRIVATE+6
+#define SIOCSIWNETNAME (SIOCDEVPRIVATE + 1)
+#define SIOCGIWNETNAME (SIOCDEVPRIVATE + 2)
+#define SIOCSIWSTANAME (SIOCDEVPRIVATE + 3)
+#define SIOCGIWSTANAME (SIOCDEVPRIVATE + 4)
+#define SIOCSIWPORTTYPE (SIOCDEVPRIVATE + 5)
+#define SIOCGIWPORTTYPE (SIOCDEVPRIVATE + 6)
/* IOCTL code for the RTS interface */
-#define WL_IOCTL_RTS SIOCDEVPRIVATE+7
+#define WL_IOCTL_RTS (SIOCDEVPRIVATE + 7)
/* IOCTL subcodes for WL_IOCTL_RTS */
#define WL_IOCTL_RTS_READ 1
--
1.7.10.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-20 14:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-20 14:44 [PATCH 1/8] staging: wlags49_h2: wl_if.h: fixes macro styling issues Johan Meiring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®