diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2020-02-23 23:17:03 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-03-04 10:40:48 +0100 |
commit | 2288eba5ca746e4095ecb483463d8bc4e4d7b2fd (patch) | |
tree | d98140aa2a97977d54e468625d7d12ebdd7386a5 /include/acpi | |
parent | 98d54f81e36ba3bf92172791eba5ca5bd813989b (diff) |
ACPI: OSL: Add missing __acquires/__releases annotations
Sparse reports a warnings at acpi_os_acquire_lock() and
acpi_os_release_lock():
warning: context imbalance in acpi_os_acquire_lock() - unexpected unlock
warning: context imbalance in acpi_os_release_lock() - unexpected unlock
which result from missing __acquires/__releases annotations.
Add the annotations as appropriate to get rid of the warnings.
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
[ rjw: Two patches merged into one, subject & changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions