diff options
author | Ben Dooks <[email protected]> | 2023-11-22 08:51:18 +0000 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-12-17 16:14:24 +0100 |
commit | f77999887235f8c378af343df11a6bcedda5b284 (patch) | |
tree | 6170b5dfe7f780e5bf16e8380a678d4adc3af437 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 137c9e08e5e542d58aa606b0bb4f0990117309a0 (diff) |
watchdog: starfive: add lock annotations to fix context imbalances
Add the necessary __acquires() and __releases() to the functions
that take and release the wdt lock to avoid the following sparse
warnings:
drivers/watchdog/starfive-wdt.c:204:13: warning: context imbalance in 'starfive_wdt_unlock' - wrong count at exit
drivers/watchdog/starfive-wdt.c:212:9: warning: context imbalance in 'starfive_wdt_lock' - unexpected unlock
Signed-off-by: Ben Dooks <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions