RTEMS | bsps/powerpc: Address -Wsign-compare warnings (!1009)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Feb 5 14:57:53 UTC 2026




Joel Sherrill commented on a discussion on bsps/powerpc/shared/vme/vmeTsi148.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1009#note_141574

 >  	if ( q )
 >  		rtems_message_queue_delete(q);
 >  
 > -	return sc ? sc : err;
 > +  if ( sc ) {
 > +    return sc;
 > +  }
 > +	return err;

Same. Again rtems_status_code vs integer. Breaking it apart avoids a cast.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1009#note_141574
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/20260205/df80e23a/attachment.htm>


More information about the bugs mailing list