[PATCH v3 5/5] sp54: Fix warning

Gedare Bloom gedare at rtems.org
Sat Feb 17 19:43:22 UTC 2018


On Fri, Feb 16, 2018 at 12:31 PM, Joel Sherrill <joel at rtems.org> wrote:
> From: Jennifer Averett <jennifer.averett at oarcorp.com>
>
> Add CONFIGURE_RTEMS_INIT_TASKS_TABLE to remove warning.
> ---
>  testsuites/sptests/sp54/init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testsuites/sptests/sp54/init.c b/testsuites/sptests/sp54/init.c
> index cf7f4db..54034ad 100644
> --- a/testsuites/sptests/sp54/init.c
> +++ b/testsuites/sptests/sp54/init.c
> @@ -71,7 +71,7 @@ static void *Init( uintptr_t ignored )
>   *  configuration, we can dummy up the initialization task configuration
>   *  to have a non-NULL pointer and 0 tasks.
>   */
> -
> +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
>  #define CONFIGURE_HAS_OWN_INIT_TASK_TABLE 1
>
It seems this HAS_OWN_INIT_TASK_TABLE should trigger the
RTEMS_INIT_TASKS_TABLE logic without needing both defines. I suggest
to change confdefs.h to behave that way.

>  rtems_initialization_tasks_table Initialization_tasks[1] =
> --
> 1.8.3.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list