diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2010-09-20 22:32:10 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-17 01:57:43 +0200 |
commit | 0702d9ee0f1dcb6258789032f03b3208bfafaffc (patch) | |
tree | a5bf807f25f1d72b2577e1a37f8b125ac5a1cd21 /kernel/power/main.c | |
parent | PM / Hibernate: Make default image size depend on total RAM size (diff) | |
download | linux-0702d9ee0f1dcb6258789032f03b3208bfafaffc.tar.xz linux-0702d9ee0f1dcb6258789032f03b3208bfafaffc.zip |
PM: Fix signed/unsigned warning in dpm_show_time()
Seen on MIPS32, gcc 4.4.3, 2.6.36-rc4:
drivers/base/power/main.c: In function 'dpm_show_time':
drivers/base/power/main.c:415: warning: comparison of distinct pointer types lacks a cast
do_div() takes unsigned parameters:
uint32_t do_div(uint64_t *n, uint32_t base);
Using an unsigned variable for usecs64 should not cause any problems,
because calltime >= starttime .
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power/main.c')
0 files changed, 0 insertions, 0 deletions