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 B0387A04B5; Wed, 30 Sep 2020 21:16:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 844F61D57E; Wed, 30 Sep 2020 21:16:10 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 168FD1B76B for ; Wed, 30 Sep 2020 21:16:07 +0200 (CEST) Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601493366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bofGFii75n9O7JZIO6ypxFXL9u1wha76Ju0+QEqx240=; b=K6ZSin7l3NUgIHAoOPKnUv7GEdLKT44QkisEJ4enbWPg6s7SNEOoWRNZIkFdorj++/ORTm OXsIRoZ0n3DHpoSg536sArrAEPGiGnUQhfygmDv77IWZcdAb21rHfB9SkGVkOAGYkTwA4x Q1J5G5RcfXqSsoee3Chq9/AqH85syLY= Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com [209.85.217.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-176-lozlQbIMPd6qnauonP60uw-1; Wed, 30 Sep 2020 15:16:04 -0400 X-MC-Unique: lozlQbIMPd6qnauonP60uw-1 Received: by mail-vs1-f69.google.com with SMTP id n123so455402vsc.12 for ; Wed, 30 Sep 2020 12:16:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bofGFii75n9O7JZIO6ypxFXL9u1wha76Ju0+QEqx240=; b=Oe8G131OYNo6bwhJniXLl8R+BpT7AzSqiI4LFcFxBSvuAL2OsB4/bGB8lqSSHdR7TH wjp3U79Uy2iJ/8MXa4bc2+85GIwKYLUDv31Y3PCNykoDGkKxT8+Q+C7B7lSuXfOrMRpW J2Uch9OM6/x+4yy6fMoDTTDuaHQg1UBzxHQ+AWzkmbDwA5FPr8gDK/l2Mc6UI8QnfQFO CcjpGTVXTHl+zH6NkuWSR1qCDqlxNt8IIHVZBtHFqaQXEuji9fX9VMzI6NFrhFFM8iY+ VeSa2MA5OiDQuj4U9wS5FgfrZf5vY1oXfuYwGWi/8BZcAm1Wl2MFkle1NTEfCUXZ7L1L E7MA== X-Gm-Message-State: AOAM5327bTNZCPqmPl/Q2D7MLnHQulUPgTAVqNAghnpjtAcUlKlva1is yG37diRDrsL6Pk9ZpsEsbAkLABi//gvvAj9E6tF+KIjOFQXHvM7tDZe5CU2InUyWGKHYFpbSNMx vLGw00LAp4eQzv0ws3zk= X-Received: by 2002:ab0:269:: with SMTP id 96mr2749477uas.41.1601493364410; Wed, 30 Sep 2020 12:16:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQjTnv0rShzzU70RkBxWEWaoxL2IZg68dYPuLzKLjFfI4/yMu18tUkBcXRJGbDZItcnbWprOgNsiYdKuXBgtQ= X-Received: by 2002:ab0:269:: with SMTP id 96mr2749471uas.41.1601493364244; Wed, 30 Sep 2020 12:16:04 -0700 (PDT) MIME-Version: 1.0 References: <389c3874a5bc2db3056b222ec48c860b96f7ad67.1601009974.git.wangyunjian@huawei.com> In-Reply-To: From: David Marchand Date: Wed, 30 Sep 2020 21:15:53 +0200 Message-ID: To: wangyunjian Cc: dev , Gage Eads , Olivier Matz , "Lilijun (Jerry)" , xudingke , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] stack: fix possible uninitialized success variable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Sep 28, 2020 at 12:29 PM David Marchand wrote: > > From: Yunjian Wang > > > > This patch fixes an issue that uninitialized 'success' > > is used to be compared with '0'. > > > > Coverity issue: 337676 > > Fixes: 3340202f5954 ("stack: add lock-free implementation") > > Cc: stable@dpdk.org > > > > Signed-off-by: Yunjian Wang > Reviewed-by: David Marchand Applied, thanks. -- David Marchand