From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v4 14/23] rte_ether.h: explicit cast avoiding truncation warning Date: Thu, 17 May 2018 12:01:17 +0100 Message-ID: <20180517110116.GF22048@bricha3-MOBL.ger.corp.intel.com> References: <152627436523.53156.4398253089110011263.stgit@localhost.localdomain> <152627463797.53156.14788742298310653724.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Andy Green Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id ABF991D9E for ; Thu, 17 May 2018 13:01:22 +0200 (CEST) Content-Disposition: inline In-Reply-To: <152627463797.53156.14788742298310653724.stgit@localhost.localdomain> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, May 14, 2018 at 01:10:37PM +0800, Andy Green wrote: > /projects/lagopus/src/dpdk/build/include/rte_ether.h:213:13: > warning: conversion from 'int' to 'uint8_t' > {aka 'unsigned char'} may change value [-Wconversion] > addr[0] &= ~ETHER_GROUP_ADDR; > /* clear multicast bit */ > > Signed-off-by: Andy Green Acked-by: Bruce Richardson