Skip to content

Conversation

@aescolar
Copy link
Member

@aescolar aescolar commented Dec 9, 2025

In #99169 the mayority of the Zephyr drivers were changed to use the Zephyr native net_ prefixed types, but some symbols were forgotten.
Without these fixes/changes the code still builds in most cases as we are by now setting CONFIG_NET_NAMESPACE_COMPAT_MODE.
But when this is not set, things fail to build.

Note that the net_offload struct was updated accordingly in d45cd67

There is currently a failure in main:
https://github.com/zephyrproject-rtos/zephyr/actions/runs/19997797171

drivers/modem/hl7800.c:380:9: error: unknown type name 'sa_family_t'
  380 |         sa_family_t family;
drivers/modem/hl7800.c:5961:24: error: unknown type name 'sa_family_t'; did you mean 'net_sa_family_t'?

In e6daacf the mayority of the
Zephyr ethernet drivers were changed to use the Zephyr native
net_ prefixed types, but this one was forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
In b5588ed the mayority of the
Zephyr modem drivers were changed to use the Zephyr native
net_ prefixed types, but this one was forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Note that the net_offload struct was updated accordingly in
d45cd67

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
In d45cd67 the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types. This comment was fogotten.
Let's fix it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
In 55c49cd the mayority of the
Zephyr wifi drivers was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
will fail to build.

Note that the net_offload struct was updated accordingly in
d45cd67

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
@aescolar aescolar requested review from jukkar and rlubos December 9, 2025 14:32
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants