This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 8f1d670a83 arch/arm/src/stm32h7: unassigned ret variable in SIOCSCANBITRATE. 8f1d670a83 is described below commit 8f1d670a830f34db912711a30040b407632c4ee3 Author: Carlos Sanchez <carlossanc...@geotab.com> AuthorDate: Wed Apr 16 09:10:35 2025 +0200 arch/arm/src/stm32h7: unassigned ret variable in SIOCSCANBITRATE. This problem was introduced in https://github.com/apache/nuttx/pull/16199 Signed-off-by: Carlos Sanchez <carlossanc...@geotab.com> --- arch/arm/src/stm32h7/stm32_fdcan_sock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/src/stm32h7/stm32_fdcan_sock.c b/arch/arm/src/stm32h7/stm32_fdcan_sock.c index bc868150eb..268fa18dfb 100644 --- a/arch/arm/src/stm32h7/stm32_fdcan_sock.c +++ b/arch/arm/src/stm32h7/stm32_fdcan_sock.c @@ -1972,6 +1972,7 @@ static int fdcan_netdev_ioctl(struct net_driver_s *dev, int cmd, #ifdef CONFIG_NET_CAN_CANFD priv->data_timing.bitrate = req->data_bitrate * 1000; #endif + ret = OK; } break; #endif /* CONFIG_NETDEV_CAN_BITRATE_IOCTL */