Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=21887b2f1826876f78a2d8e8e89f52993e7d76db
Commit:     21887b2f1826876f78a2d8e8e89f52993e7d76db
Parent:     0e7088de6ce5a64d9bb7b11eba4ee98ca5b654e8
Author:     Zhu Yi <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 27 15:43:23 2007 +0200
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Mon Aug 6 15:38:48 2007 -0400

    [PATCH] mac80211: use do { } while (0) for multi-line macros
    
    Use do { } while (0) for multi-line macros
    
    Signed-off-by: Zhu Yi <[EMAIL PROTECTED]>
    Signed-off-by: Jiri Benc <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 net/mac80211/debugfs_netdev.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c
index 799a920..095be91 100644
--- a/net/mac80211/debugfs_netdev.c
+++ b/net/mac80211/debugfs_netdev.c
@@ -271,9 +271,11 @@ static void add_files(struct ieee80211_sub_if_data *sdata)
        }
 }
 
-#define DEBUGFS_DEL(name, type)\
-       debugfs_remove(sdata->debugfs.type.name);\
-       sdata->debugfs.type.name = NULL;
+#define DEBUGFS_DEL(name, type)                                        \
+       do {                                                    \
+               debugfs_remove(sdata->debugfs.type.name);       \
+               sdata->debugfs.type.name = NULL;                \
+       } while (0)
 
 static void del_sta_files(struct ieee80211_sub_if_data *sdata)
 {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to