From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by dpdk.org (Postfix) with ESMTP id D6ECC2C8 for ; Tue, 20 Jun 2017 13:36:42 +0200 (CEST) Received: by mail-pf0-f195.google.com with SMTP id d5so22248621pfe.1 for ; Tue, 20 Jun 2017 04:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hZJem7WCNfu2haX8ptSxHJcrlPFllzMFZWObQ7U/du8=; b=X2JTflFtgslQvu3LUzaklPiLIE9/1tv5/ryZFjOWwn6H68KM04B3FkNs+21X4PJ8YS cVUslylNQVNsHxLVualEZMWAErMyF1KeMGpteXH4ZJjfSgMTk73iDKTHIv8iDZ4N/DqO rkSp396CyHa1k+H2WcUdb3bxPXiseqagAVGzfpcTuMk15Q+/pRHWEIhFYu3gYRzOvolC Uy43xx5/yUWaHg+1wzVIF/oFZnnA5uCoL8IjhBkxcyErZ9N8ocvYfMInns0pvrj4V9jH AvAcy3WZDzD6gGfH0OI9UnhLJ9l5kLQDomMV/3K2Tk14KJNEDxNSjMdLC7uIOd0TaUPb l8og== 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=hZJem7WCNfu2haX8ptSxHJcrlPFllzMFZWObQ7U/du8=; b=gpslJFOZwkV29Pr2CepeZ4AhzKC6CpE96IEYFIQKlttfp1+3j5861uPZoP5o/4tUwU dMPVL0m6H5Aw0lFXKY5vskcgNUtO5u/uk//GqjFwYq0BSJRowSrjG7rcIePUnD/j0IrR pE3EZ60vZeBPih1xhfGbtjRq5trs8E7bX0OIpOa7qFLa5StarzM1W+5IleWD0Shy6U0p /ofQh+EouJAExDWSNw36RR9y9mRai7pkaBKM/uPmSm2Tntjzib+SQJfxfpHx7tMe0Mq3 XVtJyeoH531mo9p8DNLwm363XZU3OcvjE6YaWzJcLG7gMO4hJM7FMB7NhcaQH+G6g/n8 g5JQ== X-Gm-Message-State: AKS2vOy7Ge3ORWOIscbL5WybMm4a+SxtPp+Lj6aOkoN3tPLZWEuMsFxE ZmWvs1Z5HkCbOoSOcURMpg== X-Received: by 10.101.86.76 with SMTP id m12mr31488222pgs.137.1497958602110; Tue, 20 Jun 2017 04:36:42 -0700 (PDT) Received: from yliu-home.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 25sm6104783pfj.59.2017.06.20.04.36.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 04:36:41 -0700 (PDT) From: Yuanhan Liu To: John Miller Cc: dpdk stable Date: Tue, 20 Jun 2017 19:35:19 +0800 Message-Id: <1497958550-13600-7-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> References: <1497958550-13600-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/ark: fix return code not checked' has been queued to stable release 17.05.1 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, 20 Jun 2017 11:36:43 -0000 Hi, FYI, your patch has been queued to stable release 17.05.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/22/17. So please shout if anyone has objections. Thanks. --yliu --- >>From c391e55312ef587a2e15139170a4b0d7e3badf7c Mon Sep 17 00:00:00 2001 From: John Miller Date: Tue, 16 May 2017 12:14:16 -0400 Subject: [PATCH] net/ark: fix return code not checked [ upstream commit d1434c047949ba52a11d64ca4d8304c9e261dd45 ] Coverity issue: 144514 Fixes: 727b3fe292bc ("net/ark: integrate PMD") Signed-off-by: John Miller --- drivers/net/ark/ark_ethdev.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/ark/ark_ethdev.c b/drivers/net/ark/ark_ethdev.c index 995c93d..9143fc4 100644 --- a/drivers/net/ark/ark_ethdev.c +++ b/drivers/net/ark/ark_ethdev.c @@ -588,7 +588,11 @@ eth_ark_dev_start(struct rte_eth_dev *dev) /* Delay packet generatpr start allow the hardware to be ready * This is only used for sanity checking with internal generator */ - pthread_create(&thread, NULL, delay_pg_start, ark); + if (pthread_create(&thread, NULL, delay_pg_start, ark)) { + PMD_DRV_LOG(ERR, "Could not create pktgen " + "starter thread\n"); + return -1; + } } if (ark->user_ext.dev_start) -- 2.7.4