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 61F74A04DD; Thu, 22 Oct 2020 14:55:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 85532A94E; Thu, 22 Oct 2020 14:55:26 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 9DD9BA94D for ; Thu, 22 Oct 2020 14:55:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603371323; 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=IJ2pI5udihiIbfhYzTK5xhu72e6tuFQ9Ft6i3qhIq4M=; b=K60Z3g3NL2LqJuoKjzTw1ABAZUEhfUEeDZ+xEqyG5GSSudIF+Rd9BfeRT81BB6QZ+I8vZJ 4zF7R8F/Gh051MaxE1M28au39p/OBUp04ll6blQPI74trJ7eo6omfsgFqt8HblkyG+GBV/ GYDYpYfRnynJfj6/24I0w66x16RyK7w= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-17-lK7QIuprOwycz_83_UfoGg-1; Thu, 22 Oct 2020 08:55:18 -0400 X-MC-Unique: lK7QIuprOwycz_83_UfoGg-1 Received: by mail-vs1-f71.google.com with SMTP id f19so315991vsp.10 for ; Thu, 22 Oct 2020 05:55:18 -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=IJ2pI5udihiIbfhYzTK5xhu72e6tuFQ9Ft6i3qhIq4M=; b=P7Y7NodSl4SkQZYZgmxJ+cXQ1VZHCXKa5Z+LQCFhEsMfmbV35lMQFgHxqGKLk0zc08 XElECwjYB/5haD7g6Vn8I1/L/4xOHZdEs2xH23dtwHz159bDj4zQwcn1l7oXFNLHDjDP 66XIUhgMVIrxhBlWhmYVIP3Q9KyHT4eQwl8y0gIDaKOB2jW3uU5fv767956hXJR824Dv HrVu6muz9crl47Ib+477DhIC0/zA5UpH+clVbbK9nRocC25casi2X9u+3zRkBNSL9nap cTjfT5VNCO/TE7bG7a34CKIdERO+ffehItaBv86h7xYhWM3+kajYcJwKyMg7HsMPHbEL YXxg== X-Gm-Message-State: AOAM531PKPumyv+lGpcAehD82/szqhiKnuXho4fsOnuEbbdU4q+LTFRB 8ZGwRVFE/JsxkypLrV797OsHPPOJpWn/HlOpd14JygrZVixZjUGR6d11sf9ggbp9sJNR91zBIEd bpPl0E0dJUil3QV1rOKY= X-Received: by 2002:a1f:6091:: with SMTP id u139mr1339307vkb.17.1603371317831; Thu, 22 Oct 2020 05:55:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys/Xy5N4szyAYdP7xwZ1vlm/cuOD5O7rue10Ze3PXBRo8Ve0uvnnTq4D6Kq3xiZcARI/HqpzQt1JPQv/PDHbQ= X-Received: by 2002:a1f:6091:: with SMTP id u139mr1339295vkb.17.1603371317631; Thu, 22 Oct 2020 05:55:17 -0700 (PDT) MIME-Version: 1.0 References: <7ec6b12bf0f9fcdb2306dec72390a853abdf2f56.1603207676.git.wangyunjian@huawei.com> In-Reply-To: <7ec6b12bf0f9fcdb2306dec72390a853abdf2f56.1603207676.git.wangyunjian@huawei.com> From: David Marchand Date: Thu, 22 Oct 2020 14:55:06 +0200 Message-ID: To: wangyunjian Cc: dev , Jeff Guo , Jerin Jacob Kollanukkaran , "Lilijun (Jerry)" , xudingke , dpdk stable , Kevin Traynor , Luca Boccassi 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] [PATCH v5 3/3] eal: fix a wrong returned value when callback exists 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 Wed, Oct 21, 2020 at 1:20 PM wangyunjian wrote: > > From: Yunjian Wang > > We should return an error value, when the callback is already exist. > > Fixes: a753e53d517b ("eal: add device event monitor framework") > Cc: stable@dpdk.org Same question as for the previous patch, should we backport this? -- David Marchand