RTEMS | Format SPARC, NOEL and GRLIB files (!1237)

Gedare Bloom (@gedare) gitlab at rtems.org
Thu Jun 4 13:54:00 UTC 2026




Gedare Bloom started a new discussion on bsps/shared/grlib/amba/ambapp_find_by_idx.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1237#note_151809

 > +    if ( ( *pi )-- == 0 ) {
 > +      return (int) (uintptr_t) dev;
 > +    } else {
 >        return 0;
 > -  } else {
 > -    /* Satisfied with first matching device, stop search */
 > -    return (int)(uintptr_t)dev;
 > +    }
 >    }
 >  }
 > +else
 > +{
 > +  /* Satisfied with first matching device, stop search */
 > +  return (int) (uintptr_t) dev;
 > +}
 > +}

This broke the braces, but I can't reproduce this reformat with the tool. I wonder if something got manually tweaked somehow.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1237#note_151809
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/0e1461e1/attachment-0001.htm>


More information about the bugs mailing list