diff options
author | Brian Geffon <bgeffon@google.com> | 2023-09-21 13:00:45 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-09-21 20:25:49 +0200 |
commit | f0c7183008b41e92fa676406d87f18773724b48b (patch) | |
tree | b6f7ad5585cb9dd88589476de3712871cbb935cf /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | ce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff) |
PM: hibernate: Use __get_safe_page() rather than touching the list
We found at least one situation where the safe pages list was empty and
get_buffer() would gladly try to use a NULL pointer.
Signed-off-by: Brian Geffon <bgeffon@google.com>
Fixes: 8357376d3df2 ("[PATCH] swsusp: Improve handling of highmem")
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions