[dpdk-dev] [dpdk-stable] [PATCH] examples/quota_watermark: fix gcc 8.0.1 cast between incompatible types
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Fri May 11 17:48:57 CEST 2018
> -----Original Message-----
> From: stable [mailto:stable-bounces at dpdk.org] On Behalf Of Reshma Pattan
> Sent: Wednesday, May 9, 2018 12:35 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Pattan, Reshma <reshma.pattan at intel.com>
> Subject: [dpdk-stable] [PATCH] examples/quota_watermark: fix gcc 8.0.1 cast
> between incompatible types
>
> Gcc 8.0.1 reports incompatible cast between types i.e. from `void (*)(void *)` to
> `(int (*)(void *)`.
>
> Change the pipeline_stage prototype to retun int type to fix the issue.
>
> Fixes: a0ffcb257a ("examples/quota_watermark: correct code indentation")
> CC: stable at dpdk.org
>
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
More information about the dev
mailing list