diff options
author | 2018-06-25 13:30:58 +0800 | |
---|---|---|
committer | 2018-07-02 11:48:30 +0200 | |
commit | d5641c64c48f4408500a348301bff01fbf2c1ec5 (patch) | |
tree | cec4b8bb9b9319b43a4bd0f2ddb0d61285800b47 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | Linux 4.18-rc3 (diff) | |
download | linux-dev-d5641c64c48f4408500a348301bff01fbf2c1ec5.tar.xz linux-dev-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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions