RTEMS | Draft: cpukit: add support for common CAN/CAN FD stack (!49)
Pavel Pisa (@ppisa)
gitlab at rtems.org
Fri Jun 28 10:45:14 UTC 2024
Pavel Pisa commented on a discussion on cpukit/dev/can/ctucanfd/ctucanfd.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108447
> + where, i, priv->txb_order, priv->ntxbufs, priv->txb_prio_tail[0] );
> + ret = -1;
> + }
> + }
> + }
> + return ret;
> +}
> +
> +#else /*CTUCANFD_DEBUG*/
> +
> +static int ctucanfd_check_state(
> + struct ctucanfd_priv *priv,
> + const char *where
> +) {
> + return 0;
> +}
It is possible that it will result in warning when result is not assigned to some variable, is not it?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/49#note_108447
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240628/e2c313e3/attachment-0001.htm>
More information about the bugs
mailing list