fix(ci): suppress GNU static analyzer warnings

This commit is contained in:
Alexey Lapshin
2026-06-15 18:53:21 +07:00
parent 2d22f09e0f
commit 406bd2393e
15 changed files with 93 additions and 22 deletions
+4 -3
View File
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -14,6 +14,7 @@
#include "freertos/task.h"
#include "freertos/freertos_debug.h"
#include "esp_err.h"
#include "esp_macros.h"
#include "esp_attr.h"
#include "esp_check.h"
#include "esp_log.h"
@@ -420,11 +421,11 @@ static void task_wdt_timeout_handling(int cores_fail, bool panic)
esp_crosscore_int_send_twdt_abort(other_core);
/* We are going to abort, on the other core, we have nothing to
* do anymore here, just wait until we crash */
while (1) {}
ESP_INFINITE_LOOP();
} else if (cores_fail & BIT(other_core)) {
/* If only the other core is failing, we can tell it to abort. */
esp_crosscore_int_send_twdt_abort(other_core);
while (1) {}
ESP_INFINITE_LOOP();
}
#endif // !CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE
/* Current core is failing, abort right now */