[PATCH rtems6 - v1 16/16] FIX: missing return value warning
Kinsey Moore
kinsey.moore at oarcorp.com
Thu Jan 4 19:26:07 UTC 2024
This patch should be merged with patch 12/16 that introduced the bug.
Kinsey
On Thu, Jan 4, 2024 at 12:35 PM <berndmoessner80 at gmail.com> wrote:
> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20240104/047e17b0/attachment.htm>
More information about the devel
mailing list