Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1155865rwo; Wed, 2 Aug 2023 09:28:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlEcMZhYzXV5p//VVhIlDobP2OGvsmKtH5UhW+Y+u53/aThIUMjUUQRQEWjiXf7dDALuhQFG X-Received: by 2002:a05:6a20:26a5:b0:133:6e6e:2b11 with SMTP id h37-20020a056a2026a500b001336e6e2b11mr12704991pze.2.1690993716632; Wed, 02 Aug 2023 09:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690993716; cv=none; d=google.com; s=arc-20160816; b=p+/KxF2rsAG+wyyD/yIF3hiVEwNdV5IvXnwHwDVPUiw5Qrmp4iHDvkafyZQaNDQuCd 4f2F1n0aK4kTobUiz8EhEjlvB2OIaoGXmvFgX60fKj+sVYB3SIrmLqXc5otLx3LqcwpR tviTemap/j8T9hEKCKGiylCUufBUY90sD3s7bwZ0S/+8MpN++FAkuEua8U0EXhthNJ1F KeTuSJaFtjnuTk7MjACtHvGL0T2FBUG70Z7pwljirYKVu+nfxA/5MNiaiLWTw+tY7ngy FwOnlQCiu1AdHZ0tdx3bvL+2jme/+MGb7eFxGPVF/OX7ifPPojIxKcrO4N9HGdzvgVNX 0csA== 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=9LPFhfZWqC3vLyo/pb+9+Lttprzx/IXPCW0brQkFD90=; fh=SE+pfXTpccZBjJFc209mxBSn/0C0ac7sDLkn43AZi6k=; b=r1GykVZOWBR5KWnn27/YqNqjndnG0d+/mmxBxCvXlULnOdmxFLqhI74tCYVP/535BK aZChv6ziT3AJVNXcU2x0U8wn28CLAeNMLC2JKY16RCTXrInROAwE1QCf7Mr5AHXzXQlX WwGv89OKiOIpVV9n3hWdZojdkrA5kTMRozyjOyEjb5S2b4IVyt/WmT7cK2IralohMpHC WsM0YMIeLQuWKXkFqqupkg6kwdnpEn6oHdXqA7yatEKDjRUpbstOIY5evTD3bYhRO/Qy r6ktGbiic3Ao36K8KEFS0e0MFtNvCkrJrZBcCirbkHQLyAC5pZ0md2NGlfct/4RTkbPn dVbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JdW/FfP2"; 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 c186-20020a621cc3000000b006765f19e46bsi3639831pfc.147.2023.08.02.09.28.24; Wed, 02 Aug 2023 09:28:36 -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="JdW/FfP2"; 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 S235126AbjHBP02 (ORCPT + 99 others); Wed, 2 Aug 2023 11:26:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235119AbjHBP0N (ORCPT ); Wed, 2 Aug 2023 11:26:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD06DA1; Wed, 2 Aug 2023 08:23:37 -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 9D3C3619D9; Wed, 2 Aug 2023 15:23:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA495C433C7; Wed, 2 Aug 2023 15:23:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690989816; bh=03Ss9QaH4LJUp+idfEBSD6LOlA3Q9HWXg0H9LoXdUeI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JdW/FfP2uNxyWqABdFtAYnBz/ABJ/a3oxBZbSM3N8PWw+wT4wJc1z/8C5t2lqDIdL IF2OHGj1eW+ion3J6Oq7RDPu+D6QH/N+fwLl75z7CQA5+GzjlAmLwNjCHtZsR9QlYq e0UG/mN9CU5+ZTiT3kx1Ocr9Fz839FcN6lr/2yMLru8Cy7V3sr0Jw5m2Or5zLleJwq DKNsmmH18x91M+m44Z5q7xqluiiLavHsPPh/nKVoCqZmLhLUD7yimWgzK2rC0FYOMQ F9anU5Ak36lnR+MeX7MjnbnSNw2PfANgkcLoyG1dS/ViXw5eatZF8FZmk0a66jfHw1 Mw/Rjxcm3XxNw== Date: Wed, 2 Aug 2023 17:23:31 +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 2/4][next] i40e: Replace one-element array with flex-array member in struct i40e_profile_segment Message-ID: References: <52da391229a45fe3dbd5c43167cdb0701a17a361.1690938732.git.gustavoars@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52da391229a45fe3dbd5c43167cdb0701a17a361.1690938732.git.gustavoars@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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:05:59PM -0600, Gustavo A. R. Silva wrote: > One-element and zero-length arrays are deprecated. So, replace > one-element array in struct i40e_profile_segment 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