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/compositor/Planner.cpp b/compositor/Planner.cpp
index 6c0785a..2d24499 100644
--- a/compositor/Planner.cpp
+++ b/compositor/Planner.cpp
@@ -57,7 +57,7 @@
// Go through the provisioning stages and provision planes
int ret = ProvisionPlanesInternal(&composition, layers, &planes);
- if (ret) {
+ if (ret != 0) {
ALOGV("Failed provision stage with ret %d", ret);
return std::make_tuple(ret, std::vector<DrmCompositionPlane>());
}
@@ -75,7 +75,7 @@
if (ret == -ENOENT)
break;
- if (ret) {
+ if (ret != 0) {
ALOGV("Failed to emplace layer %zu, dropping it", i->first);
return ret;
}