From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 25CD21D1CC; Sun, 13 May 2018 22:43:39 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BDEE725B4C; Sun, 13 May 2018 16:43:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 13 May 2018 16:43:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=C+f3OgG/bOtlbfxruBjlmdOG87 /kpWlfaCWT5kYFUZs=; b=HRlwzcY1C6j1qE9V9blA+/GmllqDDejCuHWkarRSnt Nm4I1VEdRir0GSUSIsX5FgejqzFRU21NTXMzHBgYYcyM7zEdDdguYoEAY3ToZz4U 00Tzkc+q0A2qbCY4audAf61vkR185jMY/xFWo5youV/ugmuwxaSi7DbkJnmToe2U o= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=C+f3Og G/bOtlbfxruBjlmdOG87/kpWlfaCWT5kYFUZs=; b=VFMsZJglRfY40G9qKnAQmQ d9Bg0inH2HIvXTW6LuGfNhumjbxyWfhvaMoqqo5eHEEFqma7PFjvK+2fjk9mLBZR S+oQ+TusK+/IJELWfTZAj9N4VrPpk56iXXY3lrubOrDDB6uUL7q+VLUdx+C6D7cE WbsNm8hCteo5Kv816uTV1Pj2EiIDFhjkTGX6aPiYNSdOg3FuxfOPCjwKkfQ4dqqJ SlOsEz7nzLeDrz619IJIZ54gsD/Ysn5YpearA6TKlJromErGhy9kfZjdffq1fI1J MxJqC7yarFoY3I/D/OTtSQviDRyKZa5Rsv0opk8oS+mft79cudg1Q86S/IsrAJAQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 32F03E4123; Sun, 13 May 2018 16:43:38 -0400 (EDT) From: Thomas Monjalon To: Andy Green Cc: dev@dpdk.org, stable@dpdk.org Date: Sun, 13 May 2018 22:43:37 +0200 Message-ID: <3674207.DuE9g2naJb@xps> In-Reply-To: <152609042788.121661.16333710243796218948.stgit@localhost.localdomain> References: <152609021699.121661.5295227351721865436.stgit@localhost.localdomain> <152609042788.121661.16333710243796218948.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 21/24] rte_ethdev.h: explicit cast for truncation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2018 20:43:39 -0000 12/05/2018 04:00, Andy Green: > /projects/lagopus/src/dpdk/build/include/rte_ethdev.h: > In function 'rte_eth_tx_buffer_flush': > /projects/lagopus/src/dpdk/build/include/rte_ethdev.h:4248:55: > warning: conversion from 'int' to 'uint16_t' > {aka 'short unsigned int'} may change value [-Wconversion] > buffer->error_callback(&buffer->pkts[sent], to_send - sent, Fixes: d6c99e62c852 ("ethdev: add buffered Tx") Cc: stable@dpdk.org > Signed-off-by: Andy Green Applied, thanks