drivers/net/wireless/iwlwifi/iwl-debugfs.c: fix another '%llu' warning
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Apr 2008 00:59:32 +0000 (20:59 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Apr 2008 19:05:57 +0000 (15:05 -0400)
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 <reinette.chatre@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-debugfs.c

index b2cc552de738dc8af3d2fbf20ef3d0baf5039db5..447ff2ca4137ff3080e599e2c2707046c12992cc 100644 (file)
@@ -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");