diff options
author | Wu Fengguang | 2011-10-11 17:06:33 -0600 |
---|---|---|
committer | Wu Fengguang | 2011-10-11 17:45:24 +0800 |
commit | 50657fc4dfa7e345a1008f7c1de0bf930bbecca9 (patch) | |
tree | b1b1da53bc881b021635d9a43bad0047390485d2 /mm/compaction.c | |
parent | b00949aa2df9970a912bf060bc95e99da356881c (diff) |
writeback: fix ppc compile warnings on do_div(long long, unsigned long)
Fix powerpc compile warnings
mm/page-writeback.c: In function 'bdi_position_ratio':
mm/page-writeback.c:622:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
page-writeback.c:635:4: warning: comparison of distinct pointer types lacks a cast [enabled by default]
Also fix gcc "uninitialized var" warnings.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions