Re: [PATCH 2/2] rtems: Simplify rtems_semaphore_set_priority()

2021-03-24 Thread Gedare Bloom
these two patches look ok to me. On Wed, Mar 24, 2021 at 1:40 AM Sebastian Huber wrote: > > Do not write to the object referenced by old_priority in error paths. > This is in line with other directives. > --- > cpukit/rtems/src/semsetpriority.c | 47 +++ > 1 file chan

[PATCH 2/2] rtems: Simplify rtems_semaphore_set_priority()

2021-03-24 Thread Sebastian Huber
Do not write to the object referenced by old_priority in error paths. This is in line with other directives. --- cpukit/rtems/src/semsetpriority.c | 47 +++ 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/cpukit/rtems/src/semsetpriority.c b/cpukit/rtems