Skip to content
Snippets Groups Projects
Commit 15393eeb authored by Sreelakshmi Gownipalli's avatar Sreelakshmi Gownipalli Committed by Badhri Jagan Sridharan
Browse files

diag: Protect the decrement of number of diag clients


In diagchar_open() protect the decrement of number of diag clients
so that there will be no race conditions while reading the value
from other functions.

Bug: 79421261
Change-Id: I0e2fb5331eec9c7bba39e7d881b69559256833a3
Signed-off-by: default avatarSreelakshmi Gownipalli <sgownipa@codeaurora.org>
parent 5c2e2b3e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment