STM32 Ethernet driver build failure with CONFIG_ASSERT=1 #25427
Labels
bug
The issue is a bug, or the PR is fixing a bug
platform: STM32
ST Micro STM32
priority: high
High impact/importance bug
Milestone
Describe the bug
STM32 Ethernet driver fails to build with CONFIG_ASSERT=1. This is introduced after the changeset under #25393 which added the following code,
The assertion is supposed to validate that the function call is valid while here we invoke the function and compare with its output. As the function returns
VOID
, we get a build error with assertion enabled. Stupidity on my part andExpected behavior
No build failure with Ethernet+Assert enabled.
Impact
Unable to build / test Ethernet. Regression.
Screenshots or console output
The text was updated successfully, but these errors were encountered: