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 8C1B4A0501 for ; Fri, 20 May 2022 22:30:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 85A0142685; Fri, 20 May 2022 22:30:04 +0200 (CEST) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mails.dpdk.org (Postfix) with ESMTP id 1F1B040222 for ; Fri, 20 May 2022 22:30:02 +0200 (CEST) Received: by mail-pg1-f170.google.com with SMTP id h186so8658576pgc.3 for ; Fri, 20 May 2022 13:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0ROusat76N10mtivxbABl0u94PqadGvr7JYAa/dtRgA=; b=ngqf3Gf0/2yvO/xJyBNaGQsYF0in9UI7B/U5qleybXR5lRJPuCAjJtMKISJkYsx+4R 8f35A3saKS9y54uoNesqpEZx1ii4FJMOpcDrqYKpsDkYqFf7R+WYWDwfFlOzVxR38IXQ q3m+Bj1XlHeb9A9gE9qoWnLa8661psEo7KgQMN/M9qJZ0Af0GPMJ5HeRPc3nj+7IhoEH /IfcmDp6ylqQtnEZxT7zfIS0+4mcKY2IYa4xa/dPD03z+2fiTmi/Kfeq9vj8RmV4o6/U oJ1ujob1Wj2guEf2HNRV/qQWDRGlNLYZsYcKiYPIFhdSejoIk0IWIVud3Xu3FACyl71Y nKvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0ROusat76N10mtivxbABl0u94PqadGvr7JYAa/dtRgA=; b=bwDSd3UNO595Hm1irGOUzc9xH+UbICcv+9TPMN8Uh7QXCuPRCKLvcXh+QOb1jZRF3T h8YSwYsfeyTXeAYZYij+DXvP0y3zpLXe5cXjTuOW9faGne1dpeE7srPLngdv41TERhq0 lcQFdQdhYVGETTlaWomDjUl6PiAwovIl2Rh/dulbZh2ZUmrzokexm8tv45FcEXMnx5GA o1s3UcPY0DPPqP3NGZ9+lnEGh3splfBLlzwUwwYos6CnOzrO5T37PmpK1e2M9Cy5UoBi z8jag+R+fpUBKo0eneaOp5XZUkTf+dHNDz4RZhh1/YIL1H8Y95hi6N3lqwB7VxEuVDyy V5GA== X-Gm-Message-State: AOAM531+VeU+l/NQ+FxmzCQz0cWHoNelnX7/VbuSLSMxyprObZgpQ0Nj JuG+H1izfQP0jqO+g5cEuAF+dA== X-Google-Smtp-Source: ABdhPJzVwjjS1R4jyvXk7oWM05kxYt+wjfxydxfqYNxtdhxYqZY4M5Y5X0+G8gjZQ9Ge6fhb22UXSw== X-Received: by 2002:aa7:8e44:0:b0:50c:fc0e:8d25 with SMTP id d4-20020aa78e44000000b0050cfc0e8d25mr11939318pfr.81.1653078601323; Fri, 20 May 2022 13:30:01 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id b12-20020a170903228c00b0016184e7b013sm166929plh.36.2022.05.20.13.30.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 13:30:00 -0700 (PDT) Date: Fri, 20 May 2022 13:29:58 -0700 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@xilinx.com, stable@dpdk.org, Rasesh Mody , Devendra Singh Rawat Subject: Re: [PATCH 08/12] net/qede/base: fix build with GCC 12 Message-ID: <20220520132958.1acd85f8@hermes.local> In-Reply-To: <20220518101657.1230416-9-david.marchand@redhat.com> References: <20220518101657.1230416-1-david.marchand@redhat.com> <20220518101657.1230416-9-david.marchand@redhat.com> MIME-Version: 1.0 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 Wed, 18 May 2022 12:16:53 +0200 David Marchand wrote: > GCC raises the following warning: >=20 > In function =E2=80=98_mm256_storeu_si256=E2=80=99, > inlined from =E2=80=98rte_mov32=E2=80=99 at > ../lib/eal/x86/include/rte_memcpy.h:320:2, > inlined from =E2=80=98rte_mov128=E2=80=99 at > ../lib/eal/x86/include/rte_memcpy.h:342:2, > inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at > ../lib/eal/x86/include/rte_memcpy.h:438:4, > inlined from =E2=80=98rte_memcpy=E2=80=99 at > ../lib/eal/x86/include/rte_memcpy.h:882:10, > inlined from =E2=80=98__ecore_mcp_cmd_and_union=E2=80=99 at > ../drivers/net/qede/base/ecore_mcp.c:541:3, > inlined from =E2=80=98_ecore_mcp_cmd_and_union=E2=80=99 at > ../drivers/net/qede/base/ecore_mcp.c:638:2, > inlined from =E2=80=98ecore_mcp_cmd_and_union=E2=80=99 at > ../drivers/net/qede/base/ecore_mcp.c:742:9: > /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: > array subscript 1 is outside array bounds of > =E2=80=98union drv_union_data[1]=E2=80=99 [-Werror=3Darray-bounds] > 935 | *__P =3D __A; > | ~~~~~^~~~~ > ../drivers/net/qede/base/ecore_mcp.c: In function > =E2=80=98ecore_mcp_cmd_and_union=E2=80=99: > ../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset 32 into > object =E2=80=98union_data=E2=80=99 of size 32 > 533 | union drv_union_data union_data; > | ^~~~~~~~~~ >=20 > Since this code is in the base driver, waive the check until the base > driver is fixed by the relevant people. >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: David Marchand Or mark driver broken with gcc-12 and get the maintainer to fix?