[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090211131935.5d9621e4.randy.dunlap@oracle.com>
Date: Wed, 11 Feb 2009 13:19:35 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: gregkh@...e.de
Subject: [PATCH 6/9] staging/rtl8187se: fix printk format warnings
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix staging/rtl8187se printk format warnings:
drivers/staging/rtl8187se/ieee80211/ieee80211_wx.c:845: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
drivers/staging/rtl8187se/ieee80211/ieee80211_wx.c:852: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
drivers/staging/rtl8187se/ieee80211/ieee80211_wx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- mmotm-2009-0210-1635.orig/drivers/staging/rtl8187se/ieee80211/ieee80211_wx.c
+++ mmotm-2009-0210-1635/drivers/staging/rtl8187se/ieee80211/ieee80211_wx.c
@@ -842,14 +842,14 @@ int ieee80211_wx_set_gen_ie(struct ieee8
if (len>MAX_WPA_IE_LEN || (len && ie == NULL))
{
- printk("return error out, len:%d\n", len);
+ printk("return error out, len:%zu\n", len);
return -EINVAL;
}
if (len)
{
if (len != ie[1]+2){
- printk("len:%d, ie:%d\n", len, ie[1]);
+ printk("len:%zu, ie:%d\n", len, ie[1]);
return -EINVAL;
}
buf = kmalloc(len, GFP_KERNEL);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists