[dpdk-dev] [PATCH v3 23/24] rte_hash_crc.h: explicit casts for truncation

Thomas Monjalon thomas at monjalon.net
Sun May 13 22:44:39 CEST 2018


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 at dpdk.org

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

Applied, thanks




More information about the dev mailing list