ARM: tegra: la: remove printf warning
Jon Mayo [Wed, 10 Aug 2011 23:20:48 +0000 (16:20 -0700)]
arch/arm/mach-tegra/latency_allowance.c:499: warning: format '%4u'
expects type 'unsigned int', but argument 4 has type 'long unsigned int'

Original-Change-Id: Idfea3e60da375bfe903e1a517505c727ecc83d72
Reviewed-on: http://git-master/r/46495
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R8eeb5ccc518d9591fa1a9a521913b17ec28c6b52

arch/arm/mach-tegra/latency_allowance.c

index ecc1e4d..db23fcc 100644 (file)
@@ -496,7 +496,7 @@ static int la_regs_show(struct seq_file *s, void *unused)
        for (i = 0; i < ARRAY_SIZE(la_info) - 1; i++) {
                la = (readl(la_info[i].reg_addr) & la_info[i].mask)
                        >> la_info[i].shift;
-               seq_printf(s, "%-16s: %4u\n", la_info[i].name, la);
+               seq_printf(s, "%-16s: %4lu\n", la_info[i].name, la);
        }
 
         return 0;