diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-11-12 17:14:26 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-11-12 20:56:25 +0100 |
| commit | 9cf02802d60af2ab52fc5f6d015baae946c85072 (patch) | |
| tree | e302c1022df4a5adfc85f316ee81ff8c1ffd4c45 /scripts/livepatch/init.c | |
| parent | 352899fd911cafd16b3f41bb5c8585124dbd7f4b (diff) | |
PM: wakeup: Update after recent wakeup source removal ordering change
After a recent change, wakeup_source_activate() will warn that the given
wakeup source is "unregistered" after its timer has been shut down
in wakeup_source_remove() which may be somewhat confusing, so change
the warning message to say that the wakeup source is "unusable".
Accordingly, rename wakeup_source_not_registered() to
wakeup_source_not_usable() and update the comment in it
to also mention the removal of the wakeup source.
Also restore the comment in wakeup_source_remove() regarding the warning
in wakeup_source_activate() that may trigger after shutting down the
wakeup source timer.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/12788103.O9o76ZdvQC@rafael.j.wysocki
Diffstat (limited to 'scripts/livepatch/init.c')
0 files changed, 0 insertions, 0 deletions
