summaryrefslogtreecommitdiffstats
path: root/kernel/power/hibernate.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-06-25 13:30:58 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-07-02 11:48:30 +0200
commitd5641c64c48f4408500a348301bff01fbf2c1ec5 (patch)
treecec4b8bb9b9319b43a4bd0f2ddb0d61285800b47 /kernel/power/hibernate.c
parent021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff)
downloadop-kernel-dev-d5641c64c48f4408500a348301bff01fbf2c1ec5.zip
op-kernel-dev-d5641c64c48f4408500a348301bff01fbf2c1ec5.tar.gz
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 'kernel/power/hibernate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud