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 BB2ECA0093; Thu, 23 Jun 2022 16:16:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5AD3B40146; Thu, 23 Jun 2022 16:16:17 +0200 (CEST) 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 5536840042 for ; Thu, 23 Jun 2022 16:16:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655993775; 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=vV9lsYHQEAOKsVInNIDcm8FTq/QeVBxGadgGWhJnt/U=; b=Q8NK+WvP30l4xxHql3uw/cXMagawA0P2yMzenkVuxkXhFGN+nLQkXmHh91vqAOQmFNTTD3 R1gNDG5yK8Zy0g7kdz4Z1mQ1WyYjI0zGSqTjVJwbG4ed5d2PtHNacCfwyYd6HpuUInJ31M 2s/qibFeqhemKlnQkH8aIr5Ekc6aPwI= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-8-NjxEDXGzPE65NDq6Pcr11A-1; Thu, 23 Jun 2022 10:16:14 -0400 X-MC-Unique: NjxEDXGzPE65NDq6Pcr11A-1 Received: by mail-lf1-f71.google.com with SMTP id o23-20020ac24357000000b0047f95f582c6so2625139lfl.7 for ; Thu, 23 Jun 2022 07:16:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vV9lsYHQEAOKsVInNIDcm8FTq/QeVBxGadgGWhJnt/U=; b=nLF5SSaWcAAf25KDmw06TEEcKNL1fSAGg9yUjKggnoyKG2/vuf8O5ep1Rap8gI3VKk WYU0vsNzSxLpkT2V5J45lE6DWVHrLDaZxCwTcQ4Io+R5BVHvyHIAEiWxvJg8p0125ZYv l6h2icIQV/MiO70Bixtc81eNOoEYdxkM1RzFZZwse7TwisqghaGlTvQD4VgJ8I/q1CgR 383P83aLB2xAw1+e4Bt9wEYAlBoGV/rA0e3ByEdrxeIAgZDMbKV/jitZZKMuGwomSc0a QeNg8rYrXT4xR+mBm0bRULZQ9nN4nhEAJapppWGUpq9Otkxj3QRQf86/Kq/J2vha9jfA yn4w== X-Gm-Message-State: AJIora8SHQd4tJ9nOJKtAWaTHA1RU3evMTZ5NxdYrSAm0oSJKpviUOW4 BgPsulw6LBsV1v/fKMQjGnSpq0XfIx4J4taTaeHz3NeaK9TbT1XTOr8PnTCBXyw5ZA6Y1fAngZU wjzRuscH5GVSxIPJXuyU= X-Received: by 2002:a2e:6e0c:0:b0:255:98fb:cb45 with SMTP id j12-20020a2e6e0c000000b0025598fbcb45mr5069177ljc.55.1655993773256; Thu, 23 Jun 2022 07:16:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1udi7IJxLcEGm3PpehPUvKpUetw/8vpNipXOQM1DjTWi4PCr2Waaw3g13i6hHzcJlqcpiuOKTfuwim7DAoW4VE= X-Received: by 2002:a2e:6e0c:0:b0:255:98fb:cb45 with SMTP id j12-20020a2e6e0c000000b0025598fbcb45mr5069162ljc.55.1655993773043; Thu, 23 Jun 2022 07:16:13 -0700 (PDT) MIME-Version: 1.0 References: <20220607171746.461772-1-stephen@networkplumber.org> <20220607171746.461772-3-stephen@networkplumber.org> In-Reply-To: <20220607171746.461772-3-stephen@networkplumber.org> From: David Marchand Date: Thu, 23 Jun 2022 16:16:01 +0200 Message-ID: Subject: Re: [RFC 2/8] net/qede: fix gcc-12 rte_memcpy warnings To: Rasesh Mody , Devendra Singh Rawat , Stephen Hemminger Cc: dev , Jerin Jacob Kollanukkaran , Thomas Monjalon 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" 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, Jun 7, 2022 at 7:18 PM Stephen Hemminger wrote: > > The x86 version of rte_memcpy can cause warnings. The driver does > not need to use rte_memcpy for everything. Standard memcpy is > just as fast and safer; the compiler and static analysis tools > treat memcpy specially. Cc: stable@dpdk.org > > Signed-off-by: Stephen Hemminger We want to have gcc 12 enabled for rc2. No news from the maintainers, so I'll go ahead with the only clean enough proposal we have. If you think this patch is wrong, please provide an alternative for rc3. Thanks. Patch applied in main directly, thanks Stephen. -- David Marchand