From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E2786A051C for ; Tue, 11 Feb 2020 12:28:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DB9F01BDFD; Tue, 11 Feb 2020 12:28:00 +0100 (CET) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id 195072B9C for ; Tue, 11 Feb 2020 12:27:59 +0100 (CET) Received: by mail-wm1-f66.google.com with SMTP id a6so3077530wme.2 for ; Tue, 11 Feb 2020 03:27:59 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=5Gh35MhA7+BBfllUICwDv53mZvM9BmoZ9AVL+IkQQBE=; b=b7rJM8QX9sCbFvMh9MlRKLVKab31ap20jCvzWu8YzEsFcIJdIsec4HjdY9Ln3Qkq3n RAPGvEpUYoXXhlogMrP/VDOZZX4pU9ygxU1rJyoJoHikZCA0bumBnJEakbAcyJQW/APx r7/hqp6V2P5MSDsb27KWKmCoQbe+CWUvqWQPGRy+cLr5M1Q7LeFMNtiCGv1YlNNDgB8Y yp6CqLT7yE9A5+LJoOeS/3fm+2qcHMs8bEXgdUWtA4dtrPvDDx18i6wiUNI3OBHKuSXL g9ibl7r7WoclxLSEkvs9B09Bnkv0autW+VkjM5iowsz6hK4JMnrU6bcJy1AISdbZeJJM NJFQ== 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:mime-version:content-transfer-encoding; bh=5Gh35MhA7+BBfllUICwDv53mZvM9BmoZ9AVL+IkQQBE=; b=n7qvv3fmSgnh0joRQDCCDqRqKSablENw0GPtZ2t2ysjC4nGjVmkjrAnsEcKpnzzFeX ipsMOH+eT3mpX6u3qKNkVdYwO13a7G4ZB5cOQe67aV/jQqNiMamFqczKGJ3PIt8rn7Jj iAgGQjdxXstYdKw2tLv3JX2MY7ynscfh86yRs38FJ3KXctze46k6JVgaRycwJXE0xuV5 GHru46bsjuD68ae17/zbovmZnMIFFzGEv5gaQBnDbB9tUd2xB9r4TjZGuAalI1vydOzN 1MWO8Qq5Lfi9cY75ejz4a+0QUnsiy+mD/R5LdSaBxqgVXiOy/z5bCayZq7b9D23Js5mG Dchw== X-Gm-Message-State: APjAAAV3LUPfwhlFo3DSY90rE80bCj3RxUBA0PX8kVtooU+SPQHYQ2GX VXPGkzdeeOhm//5jp7zNVTci/7ThSGc= X-Google-Smtp-Source: APXvYqxuY8zIdNLuFPEzc4Zm2UzB0ATag0Ra5gVuLTEguWhPZbqGIduNf++iBXY/CkzudZHYbWD2vA== X-Received: by 2002:a1c:4e01:: with SMTP id g1mr4940290wmh.12.1581420478819; Tue, 11 Feb 2020 03:27:58 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id n3sm4853291wrs.8.2020.02.11.03.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 03:27:58 -0800 (PST) From: luca.boccassi@gmail.com To: Jin Yu Cc: Maxime Coquelin , dpdk stable Date: Tue, 11 Feb 2020 11:20:08 +0000 Message-Id: <20200211112216.3929-62-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200211112216.3929-1-luca.boccassi@gmail.com> References: <20200211112216.3929-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'examples/vhost_blk: check unused value on init' has been queued to stable release 19.11.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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.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 02/13/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 03c8853b61ad30605e35de066a9a2176f11891df Mon Sep 17 00:00:00 2001 From: Jin Yu Date: Wed, 27 Nov 2019 20:16:58 +0800 Subject: [PATCH] examples/vhost_blk: check unused value on init [ upstream commit 1da2925f1994a54fdedb521b205b4ebff146d0df ] Add the assert to handle error. Coverity issue: 350592 Fixes: c19beb3f38cd ("examples/vhost_blk: introduce vhost storage sample") Signed-off-by: Jin Yu Reviewed-by: Maxime Coquelin --- examples/vhost_blk/vhost_blk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/vhost_blk/vhost_blk.c b/examples/vhost_blk/vhost_blk.c index 3182a488bb..e1036bf3a6 100644 --- a/examples/vhost_blk/vhost_blk.c +++ b/examples/vhost_blk/vhost_blk.c @@ -856,6 +856,7 @@ new_device(int vid) ctrlr->bdev->vid, i, &blk_vq->last_avail_idx, &blk_vq->last_used_idx); + assert(ret == 0); blk_vq->avail_wrap_counter = blk_vq->last_avail_idx & (1 << 15); -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-11 11:17:41.200126058 +0000 +++ 0062-examples-vhost_blk-check-unused-value-on-init.patch 2020-02-11 11:17:38.452002319 +0000 @@ -1,13 +1,14 @@ -From 1da2925f1994a54fdedb521b205b4ebff146d0df Mon Sep 17 00:00:00 2001 +From 03c8853b61ad30605e35de066a9a2176f11891df Mon Sep 17 00:00:00 2001 From: Jin Yu Date: Wed, 27 Nov 2019 20:16:58 +0800 Subject: [PATCH] examples/vhost_blk: check unused value on init +[ upstream commit 1da2925f1994a54fdedb521b205b4ebff146d0df ] + Add the assert to handle error. Coverity issue: 350592 Fixes: c19beb3f38cd ("examples/vhost_blk: introduce vhost storage sample") -Cc: stable@dpdk.org Signed-off-by: Jin Yu Reviewed-by: Maxime Coquelin