From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by dpdk.org (Postfix) with ESMTP id E4BD61B6C1 for ; Tue, 15 May 2018 19:19:44 +0200 (CEST) Received: by mail-lf0-f66.google.com with SMTP id n18-v6so1364244lfh.10 for ; Tue, 15 May 2018 10:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TLGuW+uoRcYcCN5PmW34fnk+jvaqu05w+IfQiX+TGXg=; b=FkZZ9rFsu65UnXlhSgCVqEa1OyNfS/260xPUP7SG0pi9zKIffNLFB/IdUPKfvp/kQN r0iBHwHvhEgeqrRFhs7e5wI97yrvjUMYd6tRqFhrUElrRfuurvCDSPH7xcJjFu7RwIY/ 3nBNG0LGwqQJ25jwesC8zLxivJZeBwTV20pT4CgkTHcJTmxNjvSjNMxJbcwfYtyLyJc0 61e6k50Xy0NrZ/17uzQYLLnvw8krtZe7jyPk+tXo+ocfUW+htsDfe9fOMeskCXdwJgEB nBCBZebseFUSJxGrOP4LIZh8JRFilcRYok1H8FBTyNynINPDqTCYwro78xZk0jWRksNA Kx1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TLGuW+uoRcYcCN5PmW34fnk+jvaqu05w+IfQiX+TGXg=; b=s9XB/im+4610pn1FpfsU2/hSbhhBbmHOXaTmFmkbkQ4sNDPy0JDF/TopeXrOvy0xCp 4c379UGidCTQWMgYnxVn5PMOLW4H94t/VdaysCZN5eTccSZyhEglkrk9ysGxMCdBZaFw aNJeGPnlOMwh3uIB+tyPnJEm7jm5OjxnEiVsG08tU3hpY85YDQ1WN/P3EWgnl73uzAZ3 deANpWISWHrl/rcXFJ7goIQ56LKu+uStdFXiiNSy4x7vb4MIzh9fX3mscxpbuGvv0kvV BAZ1Sj+yq4J6WuEYP5q1jLGzniU4c+7tCxJrtT630V3szNt4HVorhLsOX5g/7LuPplpF 4wxg== X-Gm-Message-State: ALKqPweT9t9HlxWWcPAa3ssSVC7Z+Ky+XLaxbIVkE1EHW4+Z9VTXO1n0 AHu9xTp6fljZ7QZG/3PsykA= X-Google-Smtp-Source: AB8JxZpeibAYkxi3LsgbcIO68g2I1f5rRF1rsWOu1WAvPpzlQumWIR77SJ1WYJuoyMGWgeeP0Q5pBw== X-Received: by 2002:a19:ea48:: with SMTP id i69-v6mr8124321lfh.118.1526404784506; Tue, 15 May 2018 10:19:44 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id w21-v6sm72146ljd.97.2018.05.15.10.19.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 10:19:43 -0700 (PDT) From: luca.boccassi@gmail.com To: Andy Green Cc: Stephen Hemminger , dpdk stable Date: Tue, 15 May 2018 18:19:03 +0100 Message-Id: <20180515171933.12882-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515171933.12882-1-luca.boccassi@gmail.com> References: <20180501104509.17238-46-luca.boccassi@gmail.com> <20180515171933.12882-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'eal: explicit cast of core id when getting index' has been queued to LTS release 16.11.7 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: Tue, 15 May 2018 17:19:45 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 80b52aa3887a8ed542aca1293cb5fb5057a71026 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 12 May 2018 09:59:07 +0800 Subject: [PATCH] eal: explicit cast of core id when getting index [ upstream commit ef3c7b50ff39a37a93ecea47481d392d8fcb2936 ] rte_lcore.h: In function 'rte_lcore_index': rte_lcore.h:122:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] lcore_id = rte_lcore_id(); Fixes: 5583037a7950 ("eal: get relative core index") Signed-off-by: Andy Green Reviewed-by: Stephen Hemminger --- lib/librte_eal/common/include/rte_lcore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/rte_lcore.h b/lib/librte_eal/common/include/rte_lcore.h index fe7b5865f..da48a94a6 100644 --- a/lib/librte_eal/common/include/rte_lcore.h +++ b/lib/librte_eal/common/include/rte_lcore.h @@ -134,7 +134,7 @@ rte_lcore_index(int lcore_id) if (lcore_id >= RTE_MAX_LCORE) return -1; if (lcore_id < 0) - lcore_id = rte_lcore_id(); + lcore_id = (int)rte_lcore_id(); return lcore_config[lcore_id].core_index; } -- 2.14.2