[PATCH rtems6 - v1 16/16] FIX: missing return value warning

berndmoessner80 at gmail.com berndmoessner80 at gmail.com
Thu Jan 4 18:34:40 UTC 2024


From: Bernd Moessner <berndmoessner80 at gmail.com>

---
 cpukit/dev/flash/flashdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/dev/flash/flashdev.c b/cpukit/dev/flash/flashdev.c
index b3cec5af35..8b9dfc7832 100644
--- a/cpukit/dev/flash/flashdev.c
+++ b/cpukit/dev/flash/flashdev.c
@@ -1101,7 +1101,7 @@ static int rtems_flashdev_ioctl_get_active_partition(
   {
     *partition_idx = rtems_flashdev_get_active_partition_index( iop );
   }
-
+  return 0;
 }
 
 static uint32_t rtems_flashdev_ioctl_get_flash_type(
-- 
2.34.1



More information about the devel mailing list