Skip to content
Commit d5641c64 authored by Chengguang Xu's avatar Chengguang Xu Committed by Rafael J. Wysocki
Browse files

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: default avatarChengguang Xu <cgxu519@gmx.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 021c9179
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment