From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 069731D1E0;
 Sun, 13 May 2018 22:44:41 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 9FCBE25CF8;
 Sun, 13 May 2018 16:44:40 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Sun, 13 May 2018 16:44:40 -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=CTIgksXHFCLSjD3F/2WBAIIV5F
 d6oKJG5OL9lBr7Rzc=; b=Ux6ckc2t8Ib9hROSc/7uu3KrOTTrStbg+i2swNtDM+
 FlyLMpFRvsgLuj05cJ1Jubpkq0fxmv0BwSpJIKWvd6NUVM3g/aYEdknuggK9cU2z
 Fa5yBs/DdNy9XGr49ZMkW3y8ctEsO9m93UdhrVTbVUu9uE2MXfRTGcI5ySELR/Ul
 E=
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=CTIgks
 XHFCLSjD3F/2WBAIIV5Fd6oKJG5OL9lBr7Rzc=; b=Ju47IBlZsH/7k75/6WlH8X
 wP9cbbDTRVdL2QCDRnFqTX3UD1DS2YKuX+ba/zcgRv8RWOuyisBa8zRA5YS5B9w+
 udJKJVTJqi/lsEdMpZ+DyB66PkntQtjf1cAEF//YgqgWe6R8o9McBicpHKb/Q/LC
 rEwKSJJUHfK++i8xi8Yp45FQscTSkBH+B9LrXQlbMqLVkOI/W30bwEMcOhudgQ1m
 4ZFw7eob9zO7lMHhwGbIS6BUYK22YDYQL3EL8wCAw5Mn71jwHD5jnOldOnUcofRg
 LdmOP/X4TrS8FkRaW2EUbvaBrhM7UsL+T7aW56m44W9WRVUH7SxJLM8gN64Raz8g
 ==
X-ME-Sender: <xms:uKP4Wm4Zgf0Fi3Z5wJWz214E0LUbCOGzJwLlS8Q6T_ZXgLPv8n5V0g>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 14C25E4123;
 Sun, 13 May 2018 16:44:39 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Andy Green <andy@warmcat.com>
Cc: dev@dpdk.org, stable@dpdk.org
Date: Sun, 13 May 2018 22:44:39 +0200
Message-ID: <2785395.GhLn0nxuFE@xps>
In-Reply-To: <152609043794.121661.2576318465909542545.stgit@localhost.localdomain>
References: <152609021699.121661.5295227351721865436.stgit@localhost.localdomain>
 <152609043794.121661.2576318465909542545.stgit@localhost.localdomain>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v3 23/24] rte_hash_crc.h: explicit casts for
	truncation
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sun, 13 May 2018 20:44:41 -0000

12/05/2018 04:00, Andy Green:
> /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h:
> In function 'crc32c_sse42_u64_mimic':
> /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h:402:40:
> warning: conversion from 'uint64_t' {aka 'long unsigned int'}
> to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion]
>   init_val = crc32c_sse42_u32(d.u32[0], init_val);

    Fixes: 00bf774bab0b ("hash: add assembly implementation of CRC32 intrinsics")
    Cc: stable@dpdk.org

> Signed-off-by: Andy Green <andy@warmcat.com>

Applied, thanks