Skip to content

[Backport v4.0-branch] net: ipv6: Fix a few compliance issues with RFC 4861 #176282

[Backport v4.0-branch] net: ipv6: Fix a few compliance issues with RFC 4861

[Backport v4.0-branch] net: ipv6: Fix a few compliance issues with RFC 4861 #176282

Triggered via pull request February 14, 2025 19:13
Status Success
Total duration 2m 34s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 27s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 3 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
Run compliance checks on patch series (PR): 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: - ret = net_ipv6_send_ns(nbr->iface, NULL, NULL, - &data->addr, &data->addr, - false); + ret = net_ipv6_send_ns(nbr->iface, NULL, NULL, &data->addr, + &data->addr, false); File:subsys/net/ip/ipv6_nbr.c Line:1557 You may want to run clang-format on this change: - (!(na_hdr->flags & NET_ICMPV6_NA_FLAG_OVERRIDE) && - !lladdr_changed)) { + (!(na_hdr->flags & NET_ICMPV6_NA_FLAG_OVERRIDE) && !lladdr_changed)) { File:subsys/net/ip/ipv6_nbr.c Line:1734 You may want to run clang-format on this change: - (struct in6_addr *)NET_IPV6_HDR(pkt)->src, - NULL, true, NET_IPV6_NBR_STATE_INCOMPLETE); + (struct in6_addr *)NET_IPV6_HDR(pkt)->src, NULL, true, + NET_IPV6_NBR_STATE_INCOMPLETE); File:subsys/net/ip/ipv6_nbr.c Line:2672
You may want to run clang-format on this change: subsys/net/ip/ipv6_nbr.c#L1557
subsys/net/ip/ipv6_nbr.c:1557 - ret = net_ipv6_send_ns(nbr->iface, NULL, NULL, - &data->addr, &data->addr, - false); + ret = net_ipv6_send_ns(nbr->iface, NULL, NULL, &data->addr, + &data->addr, false);
You may want to run clang-format on this change: subsys/net/ip/ipv6_nbr.c#L1734
subsys/net/ip/ipv6_nbr.c:1734 - (!(na_hdr->flags & NET_ICMPV6_NA_FLAG_OVERRIDE) && - !lladdr_changed)) { + (!(na_hdr->flags & NET_ICMPV6_NA_FLAG_OVERRIDE) && !lladdr_changed)) {
You may want to run clang-format on this change: subsys/net/ip/ipv6_nbr.c#L2672
subsys/net/ip/ipv6_nbr.c:2672 - (struct in6_addr *)NET_IPV6_HDR(pkt)->src, - NULL, true, NET_IPV6_NBR_STATE_INCOMPLETE); + (struct in6_addr *)NET_IPV6_HDR(pkt)->src, NULL, true, + NET_IPV6_NBR_STATE_INCOMPLETE);

Artifacts

Produced during runtime
Name Size
compliance.xml
853 Bytes