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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=16788599a9601cbba6ad7b58b3b52227ea59c013;p=openwrt%2Fstaging%2Fblogic.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 b2cc552de738..447ff2ca4137 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");