summaryrefslogtreecommitdiff
path: root/scripts/macro_checker.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-10-09 21:34:16 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-10-20 20:43:09 +0200
commitd3db87f89c71c34f4a6a0ee9de3dfab5eee18b22 (patch)
tree5fef257220b81b1f9f61a4ee16686f8e8dfdce64 /scripts/macro_checker.py
parenta67818f74512452e9d99a98d990ea9d9b7c91791 (diff)
PM: hibernate: Rework message printing in swsusp_save()
The messages printed by swsusp_save() are basically only useful for debug, so printing them every time a hibernation image is created at the "info" log level is not particularly useful. Also printing a message on a failing memory allocation is redundant. Use pm_deferred_pr_dbg() for printing those messages so they will only be printed when requested and the "deferred" variant is used because this code runs in a deeply atomic context (one CPU with interrupts off, no functional devices). Also drop the useless message printed when memory allocations fails. While at it, extend one of the messages in question so it is less cryptic. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> [ rjw: Dropped a useless colon at the end of one of the messages ] Link: https://patch.msgid.link/10750389.nUPlyArG6x@rafael.j.wysocki
Diffstat (limited to 'scripts/macro_checker.py')
0 files changed, 0 insertions, 0 deletions