summaryrefslogtreecommitdiff
path: root/kernel/Kconfig.locks
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-04-25 04:44:59 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-04-28 15:02:12 +0400
commit4881f603d7b82df2bc15efd2a272f973a3bf8df1 (patch)
tree8bbe70d82d020e1203059d16936de6ca9b191f32 /kernel/Kconfig.locks
parentd1db0eea852497762cab43b905b879dfcd3b8987 (diff)
downloadlinux-4881f603d7b82df2bc15efd2a272f973a3bf8df1.tar.xz
PM / hibernate: use unsigned local variables in swsusp_show_speed()
do_div() needs 'u64' type, or it reports warning. And negative number is meaningless for "speed", so change all signed to unsigned within swsusp_show_speed(). The related warning (with allmodconfig for unicore32): CC kernel/power/hibernate.o kernel/power/hibernate.c: In function ‘swsusp_show_speed’: kernel/power/hibernate.c:237: warning: comparison of distinct pointer types lacks a cast Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> [rjw: Subject] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/Kconfig.locks')
0 files changed, 0 insertions, 0 deletions