Re: [PATCH rtems6 - v1 06/16] Flashdev: Make mutex name more generic

2024-01-08 Thread Kinsey Moore
On Mon, Jan 8, 2024 at 7:13 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 04.01.24 19:34, berndmoessne...@gmail.com wrote: > > @@ -490,7 +491,9 @@ static int rtems_flashdev_do_init( > > void ( *destroy )( rtems_flashdev *flash ) > > ) > > { > > - rtems_recursive_mut

Re: [PATCH rtems6 - v1 06/16] Flashdev: Make mutex name more generic

2024-01-08 Thread Sebastian Huber
On 04.01.24 19:34, berndmoessne...@gmail.com wrote: @@ -490,7 +491,9 @@ static int rtems_flashdev_do_init( void ( *destroy )( rtems_flashdev *flash ) ) { - rtems_recursive_mutex_init( &flash->mutex, "RTEMS_FLASHDEV Flash" ); + char mtx_name[19]; + sprintf(mtx_name, "FDEV_MTX_%08x", (un

Re: [PATCH rtems6 - v1 06/16] Flashdev: Make mutex name more generic

2024-01-04 Thread Bernd Moessner
On 04.01.2024 19:55, Kinsey Moore wrote: On Thu, Jan 4, 2024 at 12:35 PM wrote: From: Bernd Moessner ---  cpukit/dev/flash/flashdev.c | 5 -  1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/dev/flash/flashdev.c b/cpukit/dev/flash/flashdev.c index

Re: [PATCH rtems6 - v1 06/16] Flashdev: Make mutex name more generic

2024-01-04 Thread Kinsey Moore
On Thu, Jan 4, 2024 at 12:35 PM wrote: > From: Bernd Moessner > > --- > cpukit/dev/flash/flashdev.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/cpukit/dev/flash/flashdev.c b/cpukit/dev/flash/flashdev.c > index 8bd3d11246..0020e8d2c1 100644 > --- a/cpukit/dev/fla

[PATCH rtems6 - v1 06/16] Flashdev: Make mutex name more generic

2024-01-04 Thread berndmoessner80
From: Bernd Moessner --- cpukit/dev/flash/flashdev.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/dev/flash/flashdev.c b/cpukit/dev/flash/flashdev.c index 8bd3d11246..0020e8d2c1 100644 --- a/cpukit/dev/flash/flashdev.c +++ b/cpukit/dev/flash/flashdev.c @@ -34,6