RTEMS | bsps/shared/gpio: Fix group define leaks (!1281)

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Jun 4 22:47:02 UTC 2026




Kinsey Moore started a new discussion on bsps/shared/dev/gpio/gpio-support.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1281#note_151866

 >         );
 >  
 >    if ( sc != RTEMS_SUCCESSFUL ) {
 > -    sc = rtems_gpio_release_multiple_pins(
 > +    release_sc = rtems_gpio_release_multiple_pins(

Is there a reason this new variable was introduced? There doesn't seem to be a need to preserve the original sc.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1281#note_151866
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/20260604/a25e86d6/attachment-0001.htm>


More information about the bugs mailing list