From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 8A37D46077;
	Mon, 13 Jan 2025 20:11:58 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id B3A42402DF;
	Mon, 13 Jan 2025 20:11:54 +0100 (CET)
Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com
 [209.85.216.43]) by mails.dpdk.org (Postfix) with ESMTP id 41BE44029F
 for <dev@dpdk.org>; Mon, 13 Jan 2025 20:11:53 +0100 (CET)
Received: by mail-pj1-f43.google.com with SMTP id
 98e67ed59e1d1-2ee74291415so6229747a91.3
 for <dev@dpdk.org>; Mon, 13 Jan 2025 11:11:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1736795512;
 x=1737400312; darn=dpdk.org; 
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:from:to:cc:subject:date
 :message-id:reply-to;
 bh=SWkvIf28wRymHffX0XrKUse8o5Aqi1U5ugOOP816HrU=;
 b=rnVShP8fddIs3A6+k1O2t/t88DwDLCt1gYxy8Fb7cP8jOk/Oaz61mU2IGReIkkFt2v
 0ulBiHu1nuqaMKm7sry+M8rXGaBgycncO1E9sSj/QdanPG4ZGKgeA6JGCEb58VQGq8O9
 MnFwhpgmmL5uqPPofDK4uh3N0HeI7hExlekkr9Pavrzsf34Wy4I8L3+x0TQ1KU28UBZg
 +FMtX88vW+mHHn0N9IMAU6GqI5vs5jrfioaAUEK5fPjMarMvC+DOyVV1M4zdHVDAUe48
 mTEZgDs+mJjgA4eR6woVLmAXwiMDyjQnYlcxdoG1p+VneATXgvLlF34YlPW+5KLqG3cv
 9dXw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1736795512; x=1737400312;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=SWkvIf28wRymHffX0XrKUse8o5Aqi1U5ugOOP816HrU=;
 b=uPgRECm4PVZk+Sr4h52xh0qP+9JX1OdyzbbP8/BXQIZesLT2wE3xvy7MJetSmp1ZAF
 eMZKNDmKXJ9RwGdvbI3F6vBHcI3dzwfnC9175f41fwbytkkIS6ZfHy04B7oyYdIkNLdS
 x9iQJ7n6NKKtyrKmLOXHHF9yCBkJ1xrZH7Citm9OwfepVAZXXpNH3hBRz9yARRm8hTL5
 VLBlcDKEEspHKAYu4ftX5120VOqIZ1jZfaRBWDQNyHJlUjkd5RumNpVpJ1YGZlzu15Pp
 oZbxy1MBj7D00nH0FPsmmRDBQ5Kbv1ldUZoXoihQf7gQFN8axGzUwU4vmkHq7sNuVYTy
 m2FQ==
X-Gm-Message-State: AOJu0Yw0UtkdAhVCo04he6OUk8oSwdJs08jcjmVboLKkWVJiTEtt5xCX
 WUi1KC9wXYANpO2UOGP/yL1TbMCDVdFiHIUD0wM8t/LctNO45gk163WJk5M+NI8=
X-Gm-Gg: ASbGncu7/xE3pzw4QpgW6LQ4UCkyOhZoZ3rDdlZZgDJI4VDh5OgNrUycJG694EYY0pR
 qqCkUwSO9kYrUVi0k3EA3YaR3aosm9oOm6xCuCJh188zO7tJa/pvoH60wWEPCnk2t0lMnoWBLM/
 d/NHdslhPhVnq3DC0vMjl+bZ+hljf1uZgQpUB+T185kcSqU1rIKPYnxcIfLidgm9jt/uMaR11ZS
 kRb0IZ+BQfe7QRg3VMVeIjee3DUqFLn+6OkoYiTy2poXxsHhpZxq15Gd1269slujFwrtmUYwink
 KrduDH2b4SN+u14vHBJluHic/APDmAaZUA==
X-Google-Smtp-Source: AGHT+IEtNgH6MO6t4euFpSTL98nxm3dAU9VzxkKPVAKLYOxxYPd29tUYbgyZKRF9WCD9Bkv0nBPpAg==
X-Received: by 2002:a17:90a:e18f:b0:2ee:7538:be70 with SMTP id
 98e67ed59e1d1-2f548ea569bmr28821667a91.5.1736795510861; 
 Mon, 13 Jan 2025 11:11:50 -0800 (PST)
Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226])
 by smtp.gmail.com with ESMTPSA id
 98e67ed59e1d1-2f5593d0911sm9005139a91.8.2025.01.13.11.11.49
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 13 Jan 2025 11:11:50 -0800 (PST)
Date: Mon, 13 Jan 2025 11:11:41 -0800
From: Stephen Hemminger <stephen@networkplumber.org>
To: Ariel Otilibili <otilibil@eurecom.fr>
Cc: dev@dpdk.org, Thomas Monjalon <thomas@monjalon.net>, David Marchand
 <david.marchand@redhat.com>, Maxime Coquelin <maxime.coquelin@redhat.com>,
 Chenbo Xia <chenbox@nvidia.com>, Ziyang Xuan <xuanziyang2@huawei.com>,
 Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>, Gaetan Rivet <grive@u256.net>,
 Nithin Dabilpuram <ndabilpuram@marvell.com>, Kiran Kumar K
 <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>, Satha Rao
 <skoteshwar@marvell.com>, Harman Kalra <hkalra@marvell.com>, Ajit Khaparde
 <ajit.khaparde@broadcom.com>, Somnath Kotur <somnath.kotur@broadcom.com>,
 Rosen Xu <rosen.xu@intel.com>
Subject: Re: [PATCH v3 0/6] remove check around pthread_mutex_init()
Message-ID: <20250113111141.45778d7d@hermes.local>
In-Reply-To: <20250112202021.179634-1-otilibil@eurecom.fr>
References: <20250112185842.9752-1-otilibil@eurecom.fr>
 <20250112202021.179634-1-otilibil@eurecom.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

On Sun, 12 Jan 2025 21:20:15 +0100
Ariel Otilibili <otilibil@eurecom.fr> wrote:

> Hello,
> 
> This series addresses Bugzilla ID 1586; the man says
> 
> > pthread_mutex_init always returns 0. The other mutex functions
> > return 0 on success and a non-zero error code on error.  
> 
> Meaning, the check around around pthread_mutex_init() is needless.
> 
> Thank you,
> 
> Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html
> Bugzilla ID: 1586


LGTM
Series-Acked-by: Stephen Hemminger <stephen@networkplumber.org>