From bab86542c0a545d7f0795e59512a1caaeef51d25 Mon Sep 17 00:00:00 2001 From: John W. Linville Date: Tue, 5 Jan 2010 17:57:20 -0500 Subject: [PATCH 2/8] wireless: fix build breakage when CONFIG_CFG80211_REG_DEBUG not set commit 8271195e38d01f3551bb10b1c7de856cd8507882 upstream. Bad macro definition in "cfg80211: add a regulatory debug print"... Signed-off-by: John W. Linville --- net/wireless/reg.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 2ef0b2a..1dc557d 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -43,12 +43,12 @@ #include "nl80211.h" #ifdef CONFIG_CFG80211_REG_DEBUG -#define REG_DBG_PRINT(args...) \ +#define REG_DBG_PRINT(format, args...) \ do { \ - printk(KERN_DEBUG args); \ + printk(KERN_DEBUG format , ## args); \ } while (0) #else -#define REG_DBG_PRINT(args) +#define REG_DBG_PRINT(args...) #endif /* Receipt of information from last regulatory request */ -- 1.6.3.3