diff options
author | Fabio Estevam <festevam@gmail.com> | 2024-12-12 10:04:56 -0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-12-12 23:34:50 +0100 |
commit | 8a1c099f36b256c8203319313f65666ce0043fe5 (patch) | |
tree | 230cfc501f063e19af16f3ae2a69ec9dd802aa6a /scripts/lib/kdoc/kdoc_parser.py | |
parent | cc4c34577dbc17729b7e3f1266cf12d043e8c170 (diff) |
power: reset: gpio-poweroff: Clarify the warning message
When gpio-poweroff fails, a WARN_ON() is triggered without
an explanation to the user about the failure.
Add some comments explaining that the attempt to poweroff the system
via gpio-poweroff failed and convert it to a WARN() message with a
bit of context to provide some hint to the user.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20241212130456.580197-1-festevam@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions