summaryrefslogtreecommitdiffstats
path: root/arch/x86/power
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-06-25 07:30:58 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-07-02 11:48:30 +0200
commitd5641c64c48f4408500a348301bff01fbf2c1ec5 (patch)
treecec4b8bb9b9319b43a4bd0f2ddb0d61285800b47 /arch/x86/power
parentLinux 4.18-rc3 (diff)
downloadlinux-d5641c64c48f4408500a348301bff01fbf2c1ec5.tar.xz
linux-d5641c64c48f4408500a348301bff01fbf2c1ec5.zip
PM / hibernate: cast PAGE_SIZE to int when comparing with error code
If PAGE_SIZE is unsigned type then negative error code will be larger than PAGE_SIZE. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/x86/power')
0 files changed, 0 insertions, 0 deletions