From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id D09821C786; Fri, 11 May 2018 17:49:00 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2018 08:48:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,389,1520924400"; d="scan'208";a="57838988" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga002.jf.intel.com with ESMTP; 11 May 2018 08:48:58 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.150]) by IRSMSX152.ger.corp.intel.com ([169.254.6.199]) with mapi id 14.03.0319.002; Fri, 11 May 2018 16:48:58 +0100 From: "De Lara Guarch, Pablo" To: "Pattan, Reshma" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Pattan, Reshma" Thread-Topic: [dpdk-stable] [PATCH] examples/quota_watermark: fix gcc 8.0.1 cast between incompatible types Thread-Index: AQHT54nl2S0yODXZpUmzPbf2ZoO8nKQqr9Rw Date: Fri, 11 May 2018 15:48:57 +0000 Message-ID: References: <1525865729-16086-1-git-send-email-reshma.pattan@intel.com> <1525865729-16086-2-git-send-email-reshma.pattan@intel.com> In-Reply-To: <1525865729-16086-2-git-send-email-reshma.pattan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODEwOTY1OTEtNjRjNy00NzBlLWIzZGUtODJlMjc4NjYzMTNhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkZGbEliWm0rQUhsQUxKaFlKXC80VnNVZWNjMHgzRWVFaVlDNDJQdWNncUM0PSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] examples/quota_watermark: fix gcc 8.0.1 cast between incompatible types X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 15:49:01 -0000 > -----Original Message----- > From: stable [mailto:stable-bounces@dpdk.org] On Behalf Of Reshma Pattan > Sent: Wednesday, May 9, 2018 12:35 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Pattan, Reshma > Subject: [dpdk-stable] [PATCH] examples/quota_watermark: fix gcc 8.0.1 ca= st > between incompatible types >=20 > Gcc 8.0.1 reports incompatible cast between types i.e. from `void (*)(voi= d *)` to > `(int (*)(void *)`. >=20 > Change the pipeline_stage prototype to retun int type to fix the issue. >=20 > Fixes: a0ffcb257a ("examples/quota_watermark: correct code indentation") > CC: stable@dpdk.org >=20 > Signed-off-by: Reshma Pattan Acked-by: Pablo de Lara