RTEMS | Reformat cpukit rtems src (!237)

Amar Takhar (@amar) gitlab at rtems.org
Tue Sep 24 02:01:21 UTC 2024




Amar Takhar commented on a discussion on cpukit/rtems/src/timerserver.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112493

 >      while ( true ) {
 > -      Watchdog_Control                  *the_watchdog;
 > -      Timer_Control                     *the_timer;
 > -      rtems_timer_service_routine_entry  routine;
 > -      Objects_Id                         id;
 > -      void                              *user_data;
 > -
 > -      the_watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &ts->Pending );
 > +      Watchdog_Control                 *the_watchdog;
 > +      Timer_Control                    *the_timer;
 > +      rtems_timer_service_routine_entry routine;
 > +      Objects_Id                        id;
 > +      void                             *user_data;
 > +
 > +      the_watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &ts->Pending
 > +      );

It is a bug I think it only does it when you are over 80 characters and that character is a space if it was `Pending);` it would have wrapped properly but `Pending );` causes the `);` to wrap.  At least in my experience.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/237#note_112493
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/20240924/941210c9/attachment-0001.htm>


More information about the bugs mailing list