From: John W. Linville Date: Wed, 2 Apr 2008 00:59:32 +0000 (-0400) Subject: drivers/net/wireless/iwlwifi/iwl-debugfs.c: fix another '%llu' warning X-Git-Tag: v2.6.26-rc1~1138^2~193 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=16788599a9601cbba6ad7b58b3b52227ea59c013;p=linux-2.6-omap-h63xx.git drivers/net/wireless/iwlwifi/iwl-debugfs.c: fix another '%llu' warning drivers/net/wireless/iwlwifi/iwl-debugfs.c: In function ‘iwl_dbgfs_stations_read’: drivers/net/wireless/iwlwifi/iwl-debugfs.c:247: warning: format ‘%llu’ expects type ‘long long unsigned int’, but argument 4 has type ‘u64’ Cc: Reinette Chatre Cc: Andrew Morton Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c index b2cc552de73..447ff2ca413 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c @@ -243,7 +243,7 @@ static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, station->tid[j].agg.wait_for_ba); pos += sprintf(buf+pos, "%u\t%llu\t%u\n", station->tid[j].agg.start_idx, - station->tid[j].agg.bitmap, + (unsigned long long)station->tid[j].agg.bitmap, station->tid[j].agg.rate_n_flags); } pos += sprintf(buf+pos, "\n");