[Backport v4.0-branch] tests: net: Fix conn_mgr_monitor tests #177151
Annotations
1 error, 1 warning, and 5 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:
- NET_ERR("Interface %p failed to send DAD query for %s",
- iface,
+ NET_ERR("Interface %p failed to send DAD query for %s", iface,
File:subsys/net/ip/net_if.c
Line:1301
You may want to run clang-format on this change:
- sys_slist_find_and_remove(&active_dad_timers,
- &ifaddr->dad_node);
+ sys_slist_find_and_remove(&active_dad_timers, &ifaddr->dad_node);
sys_slist_append(&active_dad_timers, &ifaddr->dad_node);
k_mutex_unlock(&lock);
/* FUTURE: use schedule, not reschedule. */
if (!k_work_delayable_remaining_get(&dad_timer)) {
- k_work_reschedule(&dad_timer,
- K_MSEC(DAD_TIMEOUT));
+ k_work_reschedule(&dad_timer, K_MSEC(DAD_TIMEOUT));
File:subsys/net/ip/net_if.c
Line:1317
You may want to run clang-format on this change:
- if (sys_slist_find_and_remove(&active_dad_timers,
- &ifaddr->dad_node)) {
+ if (sys_slist_find_and_remove(&active_dad_timers, &ifaddr->dad_node)) {
File:subsys/net/ip/net_if.c
Line:4941
You may want to run clang-format on this change:
- static uint8_t fake_lladdr[] = { 0x00, 0x00, 0x5E, 0x00, 0x53, 0x01 };
+ static uint8_t fake_lladdr[] = {0x00, 0x00, 0x5E, 0x00, 0x53, 0x01};
File:tests/net/conn_mgr_conn/src/test_ifaces.c
Line:20
You may want to run clang-format on this change:
- static uint8_t fake_lladdr[] = { 0x00, 0x00, 0x5E, 0x00, 0x53, 0x01 };
+ static uint8_t fake_lladdr[] = {0x00, 0x00, 0x5E, 0x00, 0x53, 0x01};
File:tests/net/conn_mgr_monitor/src/test_ifaces.c
Line:19
|
Run Compliance Tests:
subsys/net/ip/net_if.c#L1301
subsys/net/ip/net_if.c:1301
- NET_ERR("Interface %p failed to send DAD query for %s",
- iface,
+ NET_ERR("Interface %p failed to send DAD query for %s", iface,
|
Run Compliance Tests:
subsys/net/ip/net_if.c#L1317
subsys/net/ip/net_if.c:1317
- sys_slist_find_and_remove(&active_dad_timers,
- &ifaddr->dad_node);
+ sys_slist_find_and_remove(&active_dad_timers, &ifaddr->dad_node);
sys_slist_append(&active_dad_timers, &ifaddr->dad_node);
k_mutex_unlock(&lock);
/* FUTURE: use schedule, not reschedule. */
if (!k_work_delayable_remaining_get(&dad_timer)) {
- k_work_reschedule(&dad_timer,
- K_MSEC(DAD_TIMEOUT));
+ k_work_reschedule(&dad_timer, K_MSEC(DAD_TIMEOUT));
|
Run Compliance Tests:
subsys/net/ip/net_if.c#L4941
subsys/net/ip/net_if.c:4941
- if (sys_slist_find_and_remove(&active_dad_timers,
- &ifaddr->dad_node)) {
+ if (sys_slist_find_and_remove(&active_dad_timers, &ifaddr->dad_node)) {
|
Run Compliance Tests:
tests/net/conn_mgr_conn/src/test_ifaces.c#L20
tests/net/conn_mgr_conn/src/test_ifaces.c:20
- static uint8_t fake_lladdr[] = { 0x00, 0x00, 0x5E, 0x00, 0x53, 0x01 };
+ static uint8_t fake_lladdr[] = {0x00, 0x00, 0x5E, 0x00, 0x53, 0x01};
|
Run Compliance Tests:
tests/net/conn_mgr_monitor/src/test_ifaces.c#L19
tests/net/conn_mgr_monitor/src/test_ifaces.c:19
- static uint8_t fake_lladdr[] = { 0x00, 0x00, 0x5E, 0x00, 0x53, 0x01 };
+ static uint8_t fake_lladdr[] = {0x00, 0x00, 0x5E, 0x00, 0x53, 0x01};
|
Loading