From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1BE4946075 for ; Sun, 19 Jan 2025 18:46:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 08655402D8; Sun, 19 Jan 2025 18:46:54 +0100 (CET) Received: from mail-ej1-f97.google.com (mail-ej1-f97.google.com [209.85.218.97]) by mails.dpdk.org (Postfix) with ESMTP id 86EA9402D3 for ; Sun, 19 Jan 2025 18:46:51 +0100 (CET) Received: by mail-ej1-f97.google.com with SMTP id a640c23a62f3a-aa67ac42819so538076966b.0 for ; Sun, 19 Jan 2025 09:46:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; t=1737308811; x=1737913611; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QUSC/rDNKp/+dtAeAgh93ZrZxSl+y3FDucmeUN+9ysM=; b=TkRR96oqGP4cyLsO0DOhX837g1lakLHoOeaSPn2eb9DPYy4hfQCJQTdbg3SZLO3Opc 3+aAvfgSTRu5RUULe3oLbja5OWUJFRJkFB9+OKp7Cyl/unY8EcjVQzxqzl4g87sB6q7w xsi0Q+caw7JWj/Uq4RtdHbDen3NgOSCSs7kk5k6XozE5SNJwYjMYcn/JHEk19gOp68Ya uPXD3IfDbWzLYIfFwiuPbF7RYtkvDb9OHFOKEXyH/5AeuCWj+I+IAaMNNppBM37DtNtJ 2EASFjIS+O8Z4sfVWSfu5eTc2ASFcqTU1FMM+LymaPRdu8imm5fQ1lQpnOvfSW7alzh+ 4DTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737308811; x=1737913611; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QUSC/rDNKp/+dtAeAgh93ZrZxSl+y3FDucmeUN+9ysM=; b=LiYjwshLpNMQUVx42zOHkm+eUBo6BHBpSKAC9hyH4ie4PWJeao1wVoBY8nzJWZ0dUQ U/TFQHEssLaV8WMATYJJGuW1wnj62qVcoa+fMQ8QfIVSZwDwC5JResEKxDaFIbFHxDPc hu5jGO2UgbVUW7risVd5BKDbDoDm4umaaCZsyXQCKXTcQJf1DDylLPFxC8njpv/ks/UT 1UMo0s/yhHsBgeDw47V5sBax84gDD8tYE1Dl7on7KdtlqN92IT25e2NIKYRZcUuFzXHd j3VgNR4gXVOGQnBzfby7jRZSgqZGg+e3yTXTeQWOc3T/3nl9wt49dcQm0Sh8kDcEEBNN yUMg== X-Gm-Message-State: AOJu0Yw2Lk7pWLxUhBkAqUg8EE41aCLRmrxX0b+/fG7u3lWt/rIGpOjd UlbmBrA2CtCCY1bTDMRbDoh21B96TxJBaAUoSp/3R/FM9pitOzRF1oUfNjjx2yYxgRuqGcFWoIF zZB+cw6bLdTip1I+WfTm3gnJEwNlAOpCl X-Gm-Gg: ASbGncvxO2osCelGbES8ZqBjiK+FECt8G9kUstAsXJNYI4m1P0TH4Mgznn/4vFoDNfA 1vguiR8f3tOR5VdrtxXgL8WUf3kZn7eUzzMD0+3wl24Y04WFudAfyubaDw8lYvwqfdLnBxxiPUi 6D+78oAzsC15aDxCf5CdjAwCWqRdibALTLNMwj8qlKSW06A1UqR2RQR/MucBT3Kueur36LxjGie 0eP5yGaAmRRt6OgUyeFwGR/nH/9M66Fk8RAXyyrTpeB3N71NSsAbt2dPd3WaBvEVWqaCAwdaTPz RVhzwoX+pA1Hm3t0h5c2K3uMgwrY9pEJm8YFXQ4= X-Google-Smtp-Source: AGHT+IHRyt9d4sBYArrtjvMrg1tni8xPACNNGYrk2kBCzs6uUct/NWCQ4mOucDxEpku3plw5LIHwUaxpotKt X-Received: by 2002:a17:907:969f:b0:aa6:9fad:3c1d with SMTP id a640c23a62f3a-ab38b3afcf6mr1092762766b.39.1737308810900; Sun, 19 Jan 2025 09:46:50 -0800 (PST) Received: from smtpservice.6wind.com ([185.13.181.2]) by smtp-relay.gmail.com with ESMTP id a640c23a62f3a-ab384e3cd57sm27619566b.101.2025.01.19.09.46.50; Sun, 19 Jan 2025 09:46:50 -0800 (PST) X-Relaying-Domain: 6wind.com Received: from localhost (rainbow.dev.6wind.com [10.17.1.165]) by smtpservice.6wind.com (Postfix) with ESMTP id A5290131C4; Sun, 19 Jan 2025 18:46:50 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Thomas Monjalon , David Marchand , Ariel Otilibili , Andrew Rybchenko , =?UTF-8?q?Morten=20Br=C3=B8rup?= Subject: [PATCH 0/2] mempool: add rte_errno, and turn functions into single-exit ones Date: Sun, 19 Jan 2025 18:46:41 +0100 Message-Id: <20250119174643.2162110-1-ariel.otilibili@6wind.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 Hello, This series is for BugZilla ID 1559. rte_mempool_set_ops_byname() did not set rte_errno for error exit. As well, other functions did not consistently set the variable. For avoiding that, they are turned into single-exit functions. Thank you, Ariel Otilibili (2): mempool: add rte_errno in rte_mempool_set_ops_byname mempool: turn functions into single-exit ones lib/mempool/rte_mempool_ops.c | 44 ++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 11 deletions(-) -- 2.30.2