commit | d5641c64c48f4408500a348301bff01fbf2c1ec5 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Mon Jun 25 13:30:58 2018 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jul 02 11:48:30 2018 +0200 |
tree | cec4b8bb9b9319b43a4bd0f2ddb0d61285800b47 | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 [diff] |
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>