<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>This patch looks good to me.</div><div><br></div><div>Kinsey<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 7, 2024 at 12:19 PM <<a href="mailto:berndmoessner80@gmail.com">berndmoessner80@gmail.com</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">From: Bernd Moessner <<a href="mailto:berndmoessner80@gmail.com" target="_blank">berndmoessner80@gmail.com</a>><br>
<br>
Updates #4981<br>
---<br>
 cpukit/dev/flash/flashdev.c | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/cpukit/dev/flash/flashdev.c b/cpukit/dev/flash/flashdev.c<br>
index 27edead968..8bd3d11246 100644<br>
--- a/cpukit/dev/flash/flashdev.c<br>
+++ b/cpukit/dev/flash/flashdev.c<br>
@@ -390,6 +390,8 @@ static int rtems_flashdev_ioctl(<br>
     case RTEMS_FLASHDEV_IOCTL_GET_WRITE_BLOCK_SIZE:<br>
       err = rtems_flashdev_ioctl_get_write_block_size( flash, arg );<br>
       break;<br>
+    default:<br>
+      err = EINVAL;<br>
   }<br>
<br>
   rtems_flashdev_release( flash );<br>
-- <br>
2.34.1<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>