"Ritesh Harjani (IBM)" <[email protected]> writes:
> Clang's context analysis reports:
> dtl.c: error: rw_semaphore 'dtl_access_lock' is still held at the end of
> function [-Werror,-Wthread-safety-analysis]
> dtl.c: error: releasing rw_semaphore 'dtl_access_lock' that was not held
> [-Werror,-Wthread-safety-analysis]
>
> Add the necessary annotations to phy_attest_sequence_{begin|end}(),
> to fix these errors for enabling Clang context analysis.
Sashiko pointed out:
"Does this commit message reference the wrong functions here?"
So here is the corrected version:
Add the necessary annotations to dtl_{enable|disable}(),
dtl_file{open|release}(),
to fix these errors for enabling Clang context analysis.
I will wait for any review comments before revising v2.
-ritesh