[rtems commit] bsp/qoriq: Fix warning

Sebastian Huber sebh at rtems.org
Fri Jul 28 11:07:13 UTC 2017


Module:    rtems
Branch:    master
Commit:    a9f5812505d70b4023843e446456d730ff051cef
Changeset: http://git.rtems.org/rtems/commit/?id=a9f5812505d70b4023843e446456d730ff051cef

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jul 28 13:06:41 2017 +0200

bsp/qoriq: Fix warning

---

 c/src/lib/libbsp/powerpc/qoriq/irq/irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/powerpc/qoriq/irq/irq.c b/c/src/lib/libbsp/powerpc/qoriq/irq/irq.c
index facb53b..b0c6cd2 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/irq/irq.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/irq/irq.c
@@ -167,7 +167,7 @@ void bsp_interrupt_get_affinity(
 	_Processor_mask_From_uint32_t(affinity, src_cfg->dr, 0);
 }
 
-static rtems_status_code pic_vector_enable(rtems_vector_number vector, uint32_t msk)
+static void pic_vector_enable(rtems_vector_number vector, uint32_t msk)
 {
 	volatile qoriq_pic_src_cfg *src_cfg = get_src_cfg(vector);
 	rtems_interrupt_lock_context lock_context;



More information about the vc mailing list