[nrf fromtree] tests: drivers: hwinfo: Add test for reset cause on nrf54* #8420
Annotations
1 error, 1 warning, and 8 notices
Run Compliance Tests
Process completed with exit code 1.
|
check-warns:
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
-#define WDT_HAS_FIRED (0x12345678U)
+#define WDT_HAS_FIRED (0x12345678U)
File:tests/boards/nrf/hwinfo/reset_cause/src/main.c
Line:28
You may want to run clang-format on this change:
- sys_cache_data_flush_range((void *) &wdt_status, sizeof(wdt_status));
+ sys_cache_data_flush_range((void *)&wdt_status, sizeof(wdt_status));
File:tests/boards/nrf/hwinfo/reset_cause/src/main.c
Line:41
You may want to run clang-format on this change:
- ret = hwinfo_get_supported_reset_cause((uint32_t *) &supported);
+ ret = hwinfo_get_supported_reset_cause((uint32_t *)&supported);
File:tests/boards/nrf/hwinfo/reset_cause/src/main.c
Line:55
You may want to run clang-format on this change:
- sys_cache_data_flush_range((void *) &supported, sizeof(supported));
+ sys_cache_data_flush_range((void *)&supported, sizeof(supported));
File:tests/boards/nrf/hwinfo/reset_cause/src/main.c
Line:141
You may want to run clang-format on this change:
- sys_cache_data_flush_range((void *) &machine_state, sizeof(machine_state));
- sys_cache_data_flush_range((void *) &reboot_status, sizeof(reboot_status));
+ sys_cache_data_flush_range((void *)&machine_state, sizeof(machine_state));
+ sys_cache_data_flush_range((void *)&reboot_status, sizeof(reboot_status));
File:tests/boards/nrf/hwinfo/reset_cause/src/main.c
Line:244
You may want to run clang-format on this change:
- sys_cache_data_flush_range((void *) &reboot_status, sizeof(reboot_status));
+ sys_cache_data_flush_range((void *)&reboot_status, sizeof(reboot_status));
File:tests/boards/nrf/hwinfo/reset_cause/src/main.c
Line:260
You may want to run clang-format on this change:
- sys_cache_data_flush_range((void *) &machine_state, sizeof(machine_state));
+ sys_cache_data_flush_range((void *)&machine_state, sizeof(machine_state));
File:tests/boards/nrf/hwinfo/reset_cause/src/main.c
Line:297
You may want to run clang-format on this change:
- sys_cache_data_flush_range((void *) &wdt_status, sizeof(wdt_status));
+ sys_cache_data_flush_range((void *)&wdt_status, sizeof(wdt_status));
File:tests/boards/nrf/hwinfo/reset_cause/src/main.c
Line:315
|
Run Compliance Tests:
tests/boards/nrf/hwinfo/reset_cause/src/main.c#L28
tests/boards/nrf/hwinfo/reset_cause/src/main.c:28
-#define WDT_HAS_FIRED (0x12345678U)
+#define WDT_HAS_FIRED (0x12345678U)
|
Run Compliance Tests:
tests/boards/nrf/hwinfo/reset_cause/src/main.c#L41
tests/boards/nrf/hwinfo/reset_cause/src/main.c:41
- sys_cache_data_flush_range((void *) &wdt_status, sizeof(wdt_status));
+ sys_cache_data_flush_range((void *)&wdt_status, sizeof(wdt_status));
|
Run Compliance Tests:
tests/boards/nrf/hwinfo/reset_cause/src/main.c#L55
tests/boards/nrf/hwinfo/reset_cause/src/main.c:55
- ret = hwinfo_get_supported_reset_cause((uint32_t *) &supported);
+ ret = hwinfo_get_supported_reset_cause((uint32_t *)&supported);
|
Run Compliance Tests:
tests/boards/nrf/hwinfo/reset_cause/src/main.c#L141
tests/boards/nrf/hwinfo/reset_cause/src/main.c:141
- sys_cache_data_flush_range((void *) &supported, sizeof(supported));
+ sys_cache_data_flush_range((void *)&supported, sizeof(supported));
|
Run Compliance Tests:
tests/boards/nrf/hwinfo/reset_cause/src/main.c#L244
tests/boards/nrf/hwinfo/reset_cause/src/main.c:244
- sys_cache_data_flush_range((void *) &machine_state, sizeof(machine_state));
- sys_cache_data_flush_range((void *) &reboot_status, sizeof(reboot_status));
+ sys_cache_data_flush_range((void *)&machine_state, sizeof(machine_state));
+ sys_cache_data_flush_range((void *)&reboot_status, sizeof(reboot_status));
|
Run Compliance Tests:
tests/boards/nrf/hwinfo/reset_cause/src/main.c#L260
tests/boards/nrf/hwinfo/reset_cause/src/main.c:260
- sys_cache_data_flush_range((void *) &reboot_status, sizeof(reboot_status));
+ sys_cache_data_flush_range((void *)&reboot_status, sizeof(reboot_status));
|
Run Compliance Tests:
tests/boards/nrf/hwinfo/reset_cause/src/main.c#L297
tests/boards/nrf/hwinfo/reset_cause/src/main.c:297
- sys_cache_data_flush_range((void *) &machine_state, sizeof(machine_state));
+ sys_cache_data_flush_range((void *)&machine_state, sizeof(machine_state));
|
Run Compliance Tests:
tests/boards/nrf/hwinfo/reset_cause/src/main.c#L315
tests/boards/nrf/hwinfo/reset_cause/src/main.c:315
- sys_cache_data_flush_range((void *) &wdt_status, sizeof(wdt_status));
+ sys_cache_data_flush_range((void *)&wdt_status, sizeof(wdt_status));
|
Loading