drm_hwcomposer: CI: Set clang-tidy level to NORMAL for some files
Some of files require small adjustments to move into NORMAL checks list.
Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
diff --git a/utils/autolock.cpp b/utils/autolock.cpp
index 3342e46..3afe488 100644
--- a/utils/autolock.cpp
+++ b/utils/autolock.cpp
@@ -33,7 +33,7 @@
return -EINVAL;
}
int ret = pthread_mutex_lock(mutex_);
- if (ret) {
+ if (ret != 0) {
ALOGE("Failed to acquire %s lock %d", name_, ret);
return ret;
}
@@ -47,7 +47,7 @@
return -EINVAL;
}
int ret = pthread_mutex_unlock(mutex_);
- if (ret) {
+ if (ret != 0) {
ALOGE("Failed to release %s lock %d", name_, ret);
return ret;
}