RTEMS | cpukit/posix/aio*: Create notification at request completion (!118)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu Jul 25 13:12:59 UTC 2024
Kinsey Moore started a new discussion on cpukit/posix/src/aio_misc.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109824
> return 0;
> }
>
> -static void *rtems_aio_handle( void *arg )
> +int rtems_aio_check_sigevent( struct sigevent *sigp )
> +{
> + _Assert( sigp != NULL );
> +
> + switch (sigp->sigev_notify) {
> + case SIGEV_NONE:
> + break;
> +
> + case SIGEV_SIGNAL:
> + if (sigp->sigev_signo < 1 && sigp->sigev_signo > 32 ) {
Was this meant to be a || instead of a &&? This was flagged by a coverity scan as dead code.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/118#note_109824
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/20240725/d4e9b6f8/attachment-0001.htm>
More information about the bugs
mailing list