diff options
| author | Paul Menzel <[email protected]> | 2025-05-11 17:46:47 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-05-16 20:22:10 +0000 |
| commit | eca641304134213f835cb7df65f873f415f197b6 (patch) | |
| tree | 7c0be9601db600519207900fc07d82ff3b11adbc /rust/helpers/helpers.c | |
| parent | PM: sleep: Introduce pm_sleep_transition_in_progress() (diff) | |
| download | kernel-eca641304134213f835cb7df65f873f415f197b6.tar.gz kernel-eca641304134213f835cb7df65f873f415f197b6.zip | |
PM: freezer: Rewrite restarting tasks log to remove stray *done.*
`pr_cont()` unfortunately does not work here, as other parts of the
Linux kernel log between the two log lines:
[18445.295056] r8152-cfgselector 4-1.1.3: USB disconnect, device number 5
[18445.295112] OOM killer enabled.
[18445.295115] Restarting tasks ...
[18445.295185] usb 3-1: USB disconnect, device number 2
[18445.295193] usb 3-1.1: USB disconnect, device number 3
[18445.296262] usb 3-1.5: USB disconnect, device number 4
[18445.297017] done.
[18445.297029] random: crng reseeded on system resumption
`pr_cont()` also uses the default log level, normally warning, if the
corresponding log line is interrupted.
Therefore, replace the `pr_cont()`, and explicitly log it as a separate
line with log level info:
Restarting tasks: Starting
[…]
Restarting tasks: Done
Signed-off-by: Paul Menzel <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: Rebase on top of an earlier analogous change ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
