<div dir="ltr"><div dir="ltr">Need to fix in riscv/griscv also?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 28, 2021 at 8:28 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This fix relates to a Coverity issue (PW.INCOMPATIBLE_PARAM).<br>
---<br>
 bsps/sparc/leon3/clock/ckinit.c | 10 ++++++----<br>
 1 file changed, 6 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/bsps/sparc/leon3/clock/ckinit.c b/bsps/sparc/leon3/clock/ckinit.c<br>
index bf0c506ec0..43e5f55ae5 100644<br>
--- a/bsps/sparc/leon3/clock/ckinit.c<br>
+++ b/bsps/sparc/leon3/clock/ckinit.c<br>
@@ -130,10 +130,10 @@ static void leon3_tc_do_tick(void)<br>
     } \<br>
   } while (0)<br>
<br>
-#define Clock_driver_support_install_isr( _new ) \<br>
-  bsp_clock_handler_install(_new)<br>
+#define Clock_driver_support_install_isr(isr) \<br>
+  bsp_clock_handler_install(isr)<br>
<br>
-static void bsp_clock_handler_install(rtems_isr *new)<br>
+static void bsp_clock_handler_install(rtems_interrupt_handler isr)<br>
 {<br>
   rtems_status_code sc;<br>
<br>
@@ -141,7 +141,7 @@ static void bsp_clock_handler_install(rtems_isr *new)<br>
     clkirq,<br>
     "Clock",<br>
     RTEMS_INTERRUPT_UNIQUE,<br>
-    new,<br>
+    isr,<br>
     NULL<br>
   );<br>
   if (sc != RTEMS_SUCCESSFUL) {<br>
@@ -234,6 +234,8 @@ static void leon3_clock_initialize(void)<br>
<br>
 #define Clock_driver_timecounter_tick() leon3_tc_do_tick()<br>
<br>
+#define BSP_FEATURE_IRQ_EXTENSION<br>
+<br>
 #include "../../../shared/dev/clock/clockimpl.h"<br>
<br>
 #endif<br>
-- <br>
2.26.2<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div>