linux/drivers/base/power
Kevin Cernekee 0702d9ee0f 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>
2010-10-17 01:57:43 +02:00
..
generic_ops.c PM / Runtime: Lenient generic runtime pm callbacks 2010-10-17 01:57:41 +02:00
main.c PM: Fix signed/unsigned warning in dpm_show_time() 2010-10-17 01:57:43 +02:00
Makefile PM: Make it possible to avoid races between wakeup and system sleep 2010-07-19 01:58:48 +02:00
power.h PM: Add a switch for disabling/enabling asynchronous suspend/resume 2010-02-26 20:39:10 +01:00
runtime.c PM / Runtime: Add runtime PM statistics (v3) 2010-07-19 02:01:06 +02:00
sysfs.c PM / Runtime: Add runtime PM statistics (v3) 2010-07-19 02:01:06 +02:00
trace.c driver core: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:31 -08:00
wakeup.c PM: Do not use dynamically allocated objects in pm_wakeup_event() 2010-07-19 02:00:35 +02:00