Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1164120rwo; Wed, 2 Aug 2023 09:35:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlExpCkr/7czQKnfxTuVFbqq8bV0wZT3Mu5d3uHY0nm8gsMdsENwm34DdM8h0x6fNC6uoAyC X-Received: by 2002:a05:6a00:390e:b0:684:bb4a:b86e with SMTP id fh14-20020a056a00390e00b00684bb4ab86emr18857612pfb.1.1690994144296; Wed, 02 Aug 2023 09:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690994144; cv=none; d=google.com; s=arc-20160816; b=ZR59uj/rYyqKOV822ikmmFSMW1bMGskhglvD980PeXKPdnVknNysU1wL6lmNiSdz62 yrhy1Tqt7x1MMtjO2QTfgh+FV4SgFkplZm4e6V9wruVrsQPgtFQOP1HhJOidXZwdI/bq xMaCXv0o6yfVnSnq5iJRBcFLzDQEYKHIzmakGx3vZAYjqAwwhKOlKul5GcJKRvPnQxoJ 3Q92EobCpjFBYdrh5G6jhbHbhiAhHIePY3tfmX9ytPJArNvz1Uv+DI7ciYYly2QgBe5/ acL7s/NaMc9CnLfcNkTMss2UTp8liEsZ7w3Ll2Za9yW9liB5zWM1y+rM6KFMqfzCLAwX Ugxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tw3OKukwlAmNKHXIeTcrS99SW2RB658cp9sT0Pz+dbw=; fh=SE+pfXTpccZBjJFc209mxBSn/0C0ac7sDLkn43AZi6k=; b=Filj5FGa1wXjmY+tLLuO5YPupwCNFW/WstFJKqiXGPqKzDHf64IqXmZLadV+LurC3j IN1DZMr+ivakrRTaOkVTpdN8fPRl7TmUw0JSErtLnkwpYwtfUP38RQPX2GxZFuVH7qGg Tp35/l6vScrKcCemuTlT+qKoEH9qmZqvWFBpEeI63RW+SU6p80aw0EktSfEz5l2MOH1/ VnO1rMzuJB2PmEjoCmjjQ0T8gHReTnBOhDh2OUo5MjFTg6D/iC1TmVbBzR/Y2HnZnmpq UQ6Vx05WUgCArkIYssuxsj7TWiSJJVaNWlu7jvUPlpPpD71Z+VVs1zh2+wkuaY3nN4w8 xuzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gQvFB1gG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv3-20020a056a00414300b0068746776e98si3870156pfb.136.2023.08.02.09.35.31; Wed, 02 Aug 2023 09:35:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gQvFB1gG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234433AbjHBP0o (ORCPT + 99 others); Wed, 2 Aug 2023 11:26:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235069AbjHBP00 (ORCPT ); Wed, 2 Aug 2023 11:26:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B14B6423B; Wed, 2 Aug 2023 08:23:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3E53E6186B; Wed, 2 Aug 2023 15:23:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81936C433C7; Wed, 2 Aug 2023 15:23:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690989837; bh=Zu3eb4D+Sy8IqrzR6uy0ZGNkiAJzPj6+/YJRPNDNgrU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gQvFB1gGB11rznAsCy+ANpuFzhCOrDwnKHDicTZqM3N0Dk1rcex2NgY6hiClsM8iM wVx45gdDSVbeYVkRq4sVhqOTqMLrulQzT3EhXMW0dtbWBHcI2hLlC5eZOniDg4Sjpr PxbKifbw9y0B8lw+hNTtPyKOi2WNjTWsj2qaZoMu0fWlIdmzApUlXe2J/8YI5i4rf4 NAxFaNqTyM3sSg+z80PWxPjGbyuKtyreyCs+dcLitoz0y6DyR1/CPQFkYKbCre7I8Q 8372h82JoQ+Kuc/aqZeOoxPsCQR8zsEq6PXHzl0d46OT6/WMu6xtZk3ul/8LjIVyyM 9BlS1bvasXslA== Date: Wed, 2 Aug 2023 17:23:53 +0200 From: Simon Horman To: "Gustavo A. R. Silva" Cc: Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH 3/4][next] i40e: Replace one-element array with flex-array member in struct i40e_section_table Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 01, 2023 at 11:06:30PM -0600, Gustavo A. R. Silva wrote: > One-element and zero-length arrays are deprecated. So, replace > one-element array in struct i40e_section_table with flexible-array > member. > > This results in no differences in binary output. > > Link: https://github.com/KSPP/linux/issues/335 > Signed-off-by: Gustavo A. R. Silva Reviewed-by: Simon Horman