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 71978A0548; Tue, 7 Jun 2022 19:17:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53C574069C; Tue, 7 Jun 2022 19:17:51 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id 382BA4021D for ; Tue, 7 Jun 2022 19:17:50 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id v11-20020a17090a4ecb00b001e2c5b837ccso21424337pjl.3 for ; Tue, 07 Jun 2022 10:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=e+zU3jy3+YJzzHn+8sXcwG95UGghtYe4NUeQFctuV04=; b=D7eUWgIysvrVaeeER9RtDTz4sGDHKtgTZXzcwpgryFNsJ7MtA8E4z8jhrMmH2bHAPq UDD2Co19bbVe6ZIASdBRWn9T0ZYRc9l38v/lstWOkh1+1H8IvCtWEch+myF62q9A9vJD IAw+7imG2xByuSqzQqtjRbCl/nBeSQK/O8Fjd8oKKwunq6YM2Sr012f884Zjk6eWnc7o sdiKJfpj2AmtIDW+RnIdlYRaQq+P7ZyiI2zwiJmTJ/uGHz3LSYOirCotfFxpIGScNNM5 N4oceBaPCyzdyu9lzjl/ARuDyXjfWWK5LOxnPOy1u6RYIh2ZPt2YLV50FlMarJwmWLak 5J5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=e+zU3jy3+YJzzHn+8sXcwG95UGghtYe4NUeQFctuV04=; b=l5ZaveL7UItweVN1CjDU/IJGZGBgfEroJMrv8tSyKHk8QA8CGN9Pkofn2T+GWsarxn Y87EufecR9NRiCPw0XvAmPPgEYBMsq+nM4JrLHUQz4s1WDwB8UxLKnc+WznzQiLvoQy2 rSBLxdMlVYRKfRww60mMzihedooEtDZQZm+uYaLKGOxJWr4+nr841x2gT2DRo1WazSzU gzoGL+kX60nVMapYffSqaoNEQOyHsR+jftFoSDfLXluMbfO6bjW9YShQd679a0oRLqcv ta/bfPZQiZzaL8P6hPYjMvUAT4kYAobf44/wzQIccn9LOL4B6AyLl7CShoKF5eLmhkGg j31g== X-Gm-Message-State: AOAM532CKZu5D6e/vol/SheiNgq4EwpjucAJn0tBQD5Hz2QXF65LekGp 4RQCG+ToAg5LJr8eszD4tZQ2nkoeM594Zw== X-Google-Smtp-Source: ABdhPJzFd9gDBoiAYcUJei7o1+zondWZzvN8O4KYbHy75meSTSIUpvRZyeToZdduM7NMGGZqQVrhwQ== X-Received: by 2002:a17:903:130d:b0:164:17f5:9de5 with SMTP id iy13-20020a170903130d00b0016417f59de5mr30966510plb.132.1654622268863; Tue, 07 Jun 2022 10:17:48 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id x2-20020a627c02000000b005087c23ad8dsm13185281pfc.0.2022.06.07.10.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 10:17:48 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [RFC 0/8] Gcc-12 warning fixes Date: Tue, 7 Jun 2022 10:17:38 -0700 Message-Id: <20220607171746.461772-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Ths is early proposal on how to address some of the gcc-12 warnings. Most of these are related to rte_memcpy which can simply be addressed by using regular memcpy instead. Stephen Hemminger (8): net/ena: fix warnings related to rte_memcpy and gcc-12 net/qede: fix gcc-12 rte_memcpy warnings net/ice: fix rte_memcpy warnings with gcc-12 test/ipfrag: fix gcc-12 warnings test/ipsec: fix gcc-12 rte_memcpy warnings net/enetfc: fix array out of bounds warning vhost: replace rte_memcpy to fix warning ip_frag: fix gcc-12 warnings app/test/test_ipfrag.c | 13 ++++++----- app/test/test_ipsec.c | 13 ++++++----- drivers/net/ena/base/ena_plat_dpdk.h | 10 +-------- drivers/net/ena/ena_ethdev.c | 8 +++---- drivers/net/ena/ena_rss.c | 2 +- drivers/net/enetfec/enet_ethdev.c | 5 +++++ drivers/net/ice/base/ice_osdep.h | 5 ++--- drivers/net/ice/ice_dcf.c | 12 +++++------ drivers/net/ice/ice_dcf_ethdev.c | 10 ++++----- drivers/net/ice/ice_dcf_parent.c | 2 +- drivers/net/ice/ice_dcf_sched.c | 11 +++++----- drivers/net/ice/ice_ethdev.c | 13 ++++++----- drivers/net/ice/ice_fdir_filter.c | 32 ++++++++++++++-------------- drivers/net/ice/ice_tm.c | 6 +++--- drivers/net/qede/base/bcm_osal.h | 3 +-- drivers/net/qede/qede_ethdev.c | 2 +- drivers/net/qede/qede_filter.c | 16 ++++++-------- drivers/net/qede/qede_main.c | 13 ++++++----- drivers/net/qede/qede_sriov.c | 6 +++--- lib/ip_frag/rte_ipv4_fragmentation.c | 7 +++--- lib/vhost/vhost_crypto.c | 2 +- 21 files changed, 88 insertions(+), 103 deletions(-) -- 2.35.1