[PATCH v3 3/3] bbdev: fix build with MinGW 13

Thomas Monjalon thomas at monjalon.net
Wed Sep 10 15:00:40 CEST 2025


08/09/2025 23:17, Thomas Monjalon:
> +               const char *status_str = rte_bbdev_enqueue_status_str(i);
> +               if (status_str == NULL)
> +                       continue;
>                 if (q_data->queue_stats.enqueue_status_count[i] > 0)
>                         fprintf(f, "  Enqueue Status Counters %s %" PRIu64 "\n",
> -                                       rte_bbdev_enqueue_status_str(i),
> +                                       status_str,
>                                         q_data->queue_stats.enqueue_status_count[i]);

Coverity is raising another problem in this code,
which was already there:
i should be an enum, not an integer.
I can fix it in the next version.





More information about the dev mailing list