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 86B5041E9D for ; Wed, 15 Mar 2023 11:05:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81722427F2; Wed, 15 Mar 2023 11:05:30 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 996BC427F2 for ; Wed, 15 Mar 2023 11:05:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678874727; 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=c3hX2+29KTn+/vHKDVdi+ICrKroCmsJJ1PVgq7SVoAqrDbE+8ZiaRxRqMSL1qEOcg9iMzm 3zQzWACSHBJlg8aGGWcXpHTUcu+uj8/EBgqLlTSd42xIYCh1CQS61+2pEVN1JKems9gcpV PXJ20WieGTt+IdyIXdQyW5icSysRSNE= Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-596-GoI1_VjoMdKcSJvRO0Q4YQ-1; Wed, 15 Mar 2023 06:05:24 -0400 X-MC-Unique: GoI1_VjoMdKcSJvRO0Q4YQ-1 Received: by mail-pl1-f198.google.com with SMTP id c2-20020a170903234200b001a0aecba4e1so979613plh.16 for ; Wed, 15 Mar 2023 03:05:24 -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=0u0mIu98BXpC0494AUbswtEjgZM7LBfd3s+qQRGL0gxq8Xs/fv6DkwjAKksFGXo76f bV8B0GX80ZoStlGx+nO4k876q2rtaTfTifl4XuwcbwxfnO79IAVf9zO0z/eF8iseAFwY FvNMtItaMOB2Uia7symK+8di94Cr3RU/wYtWEjzNLC79jcGlT6YPpzDFICVTuXBllqLx CUJrKJXzwGTKDLuRD9etbPTcvfZjX4Hqb54PQYxCB/6YqnnjcCGLmTdG7Ehxf7TUrqu3 Yk4ORJuW8JJPi2Ga61w8kvpwzguOA/+FpwIo7o8HUNM4ZNiXAPVKwlYa4vflrY6iAU+Q ZbKg== X-Gm-Message-State: AO0yUKWNr+jnM932oxCMtcfDngV0/lXpgcz7BR9B8Imnun92pK0UFIkr t2RBS9aeTGSo6PNxj1R102iG3xqWTPs+J6leggSIqhRrwHvj71xTvPQF1wlAYGJ/S5fkG5b3yW9 4c1IkVSkfz5OUjK/jBAQ0VcQ= X-Received: by 2002:a17:902:6844:b0:199:1a40:dccc with SMTP id f4-20020a170902684400b001991a40dcccmr887798pln.9.1678874721864; 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: 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 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