Re: [PATCH 1/2] bsp/raspberrypi: Fix build warnings.

2020-03-28 Thread Niteesh G. S.
I have a sent v2. It uses PRIdrtems_vector_number as the specifier. Please have a look at it. https://lists.rtems.org/pipermail/devel/2020-March/058716.html Thank you, Niteesh On Sun, Mar 29, 2020 at 5:17 AM Gedare Bloom wrote: > On Sat, Mar 28, 2020 at 10:11 AM Joel Sherrill wrote: > > > > Th

Re: [PATCH 1/2] bsp/raspberrypi: Fix build warnings.

2020-03-28 Thread Gedare Bloom
On Sat, Mar 28, 2020 at 10:11 AM Joel Sherrill wrote: > > This looks ok. UNLESS we have an RTEMS specific inttypes.h format specifier > for vector. > > I don't recall where those are defined or documented. :( > Maybe we ought to, but this should never be an lu anyway. > On Sat, Mar 28, 2020, 5:

Re: [PATCH 1/2] bsp/raspberrypi: Fix build warnings.

2020-03-28 Thread Joel Sherrill
This looks ok. UNLESS we have an RTEMS specific inttypes.h format specifier for vector. I don't recall where those are defined or documented. :( On Sat, Mar 28, 2020, 5:50 AM G S Niteesh Babu wrote: > 1) _Memory_Initialize makes pointer from integer w > ithout a cast. > 2) printf format error,

[PATCH 1/2] bsp/raspberrypi: Fix build warnings.

2020-03-28 Thread G S Niteesh Babu
1) _Memory_Initialize makes pointer from integer w ithout a cast. 2) printf format error, expects %u but %lu provided. --- bsps/arm/raspberrypi/irq/irq.c | 2 +- bsps/arm/raspberrypi/start/bspstarthooks.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bsps/arm/ra