summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-02-01 16:40:22 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2013-02-01 19:27:25 (GMT)
commitd221ad1a8aa281aec505441602dd9f315d31cfb9 (patch)
treef4c0790f14f7ff0426ac0cd27c0759a6f06f8466 /drivers
parentc4806014ada1b799388d6188bc11fe5dc720c829 (diff)
downloadlinux-d221ad1a8aa281aec505441602dd9f315d31cfb9.tar.xz
rtlwifi: Fix many compile warnings when using W=1
Many warnings like the following arise from a build with W=1 on the make line: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] Changing the overall debug level storage from unsigned to signed fixes these. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/rtlwifi/wifi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h
index 21a5f4f..f13258a 100644
--- a/drivers/net/wireless/rtlwifi/wifi.h
+++ b/drivers/net/wireless/rtlwifi/wifi.h
@@ -1702,7 +1702,7 @@ struct rtl_works {
struct rtl_debug {
u32 dbgp_type[DBGP_TYPE_MAX];
- u32 global_debuglevel;
+ int global_debuglevel;
u64 global_debugcomponents;
/* add for proc debug */