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 D84EB41E9D; Wed, 15 Mar 2023 11:05:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A34B40A7A; Wed, 15 Mar 2023 11:05:26 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 647EF40141 for ; Wed, 15 Mar 2023 11:05:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678874723; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=np2mvXpn5+/5B7p9gIFThHgPgTx4Bq3c05J03xTU7Cs=; b=fuylYLlt99xT7wJu/TxIpeLZyVMDqigVBaz02MZLzGIzAkEjlKqdrhTafoGoR6hpyvDtrd L+5JGgkK79s5rTza7Ezf/x2+fqQpM4sAojhQR6R2J7t5O7qiyrVozYUVCiH+fDjWHXkxI7 dQCD9wjwaAqFKLgh7Y8mTf9TZFlh810= Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-81-xHg2w_7rMCG5ml7Z5ZlwHw-1; Wed, 15 Mar 2023 06:05:22 -0400 X-MC-Unique: xHg2w_7rMCG5ml7Z5ZlwHw-1 Received: by mail-pj1-f70.google.com with SMTP id d3-20020a17090acd0300b00237659aae8dso757230pju.1 for ; Wed, 15 Mar 2023 03:05:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678874722; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=np2mvXpn5+/5B7p9gIFThHgPgTx4Bq3c05J03xTU7Cs=; b=NfJTAoWNi06gvClmvVF9sscfWlu33MB60IVnhYwTX3HVbMVLoA1qOyCuT583FUrlNL Y+uHSQUkK/qENBBzaC5TCptSB4dDHDFKLfzL/zkefIB2SKJicSDOx4/MCmaCuXLOq7Ka lwk67OjsODs9b1PVlA50mqwC/d/cShS6n2d6s/ft3svCR80zOrAqClVBkROrDH86kyLu w9x4UZi5hXPuKTvrbtlTZ9JiiNRoz13hmo3wPQP6UZTkvMbdeSgZbyvn3yyxbva+Jm+C HHconDSsWVHb+4ADOmEHuAI0YBMArDYm/oJEKTjWKDKCCEDpvxNTngbnaiAaYxw7J40q utaA== X-Gm-Message-State: AO0yUKXfV552c/ZvKU5G5tKNAcOUjSQHABVCUU6g+vMNAw4IsEEWopZW IZrBvwgSE6kIfM4HB3SWQp3zZDSvsuOQJmTm7wnvK8vJFJJ/KfzxqS46nstoE++0VtUlA2iaGUY rEhBhcZHvRm+xR6XwSBQ= X-Received: by 2002:a17:902:6844:b0:199:1a40:dccc with SMTP id f4-20020a170902684400b001991a40dcccmr887799pln.9.1678874721865; Wed, 15 Mar 2023 03:05:21 -0700 (PDT) X-Google-Smtp-Source: AK7set9qdVWExyI/wacWg56743pYxq4w94feIHxReeaK1CyTPb2hhcM027CwLxEY0jwfFOi0w6UmymbyrTt8cpUiGMM= X-Received: by 2002:a17:902:6844:b0:199:1a40:dccc with SMTP id f4-20020a170902684400b001991a40dcccmr887790pln.9.1678874721551; Wed, 15 Mar 2023 03:05:21 -0700 (PDT) MIME-Version: 1.0 References: <20230309090317.847742-1-david.marchand@redhat.com> In-Reply-To: From: David Marchand Date: Wed, 15 Mar 2023 11:05:10 +0100 Message-ID: Subject: Re: [PATCH] net/mlx5: fix build with GCC 12 and ASan To: Slava Ovsiienko Cc: "dev@dpdk.org" , "stable@dpdk.org" , Matan Azrad X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, Mar 14, 2023 at 2:00=E2=80=AFPM Slava Ovsiienko wrote: > > Hi, David > > Thank you for the fix. > I see the quite similar strncpy() usage in mlx5_xstats_get_names() routin= e. > Does compiler complain about? Strangely.. no. But we could switch to strlcpy too. What is your preferrence? --=20 David Marchand