Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1165009rwo; Wed, 2 Aug 2023 09:36:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlF0nPT8AniTjlP4wgnum2rKbzaHc36ebhRnvdjUu4c3yHYbx22IwQHmOaMimuFVpe/Crpke X-Received: by 2002:a17:90b:3e89:b0:268:1222:6fef with SMTP id rj9-20020a17090b3e8900b0026812226fefmr15072652pjb.23.1690994189292; Wed, 02 Aug 2023 09:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690994189; cv=none; d=google.com; s=arc-20160816; b=vWoU8jNfvV+fBYYSH6NPiik3/PMhLM5AjWKdURfzku9cLSMESZdx2/JChvChV0ezo5 UBgdXmkesUlgGWGeDzccPPLjyo1KY+ZU47AqNzL66uYVxg625D8Ncu2nMgOQrBG6fkCm HeX4NX0dY7nrktX5aLWikMy/Tl8w+qY23B2AfIT9bO1TVTC3HubBj4r3gc0ZAzxUpHSi VPEjVjFa6EAlT0RvOiN7mWSRrQvD5XNdiysJW5Q8BFu0WLnc6QCwDgI0xZH6MVM2SbzN 1O9C96bBlsValZdRHupGmDQ48FH3rSUhGnJ54Dxzf1BAkQVDuDorQXJ1S8A10obXGnSO q0ng== 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=WeXUVs62Y7SMqnzwqev7vlToh01CbTjDGGOTrXNsBak=; fh=SE+pfXTpccZBjJFc209mxBSn/0C0ac7sDLkn43AZi6k=; b=qpm93WEkm/rYratSjJ0LbwLa/RZ16aSfzCw0XCdrr6ONYrL7vDCEl95mJZXoSAUyQY O2eSUr5NnBEMBYf+whl8kDsEM+PVpPIjSkmzdapVOBrB/pK2ROykSZpW+RjHjHBs7rFr NVxwsp2VbKiYWwCnq3KWRc0lZcnf4UG1BkHFLXqZBNBCTkTmptV96x7jLPnEXm8c8o30 rZ6teHqlbY0JJve0Iu092oxYdvDD2D+cyRfv3iKeLkhn2ChEWu5E/St4yvr7sR2138GC wjsRMwTukxjw110Jf16ZXn/CUNZ7h1PUnbOfQSSxQNPBOsT+b9N0F1IKy2hooll4G4G9 fHJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bjlME2up; 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 l2-20020a17090ac58200b0025c0d113469si1421247pjt.58.2023.08.02.09.36.16; Wed, 02 Aug 2023 09:36:29 -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=bjlME2up; 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 S234758AbjHBP1S (ORCPT + 99 others); Wed, 2 Aug 2023 11:27:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234964AbjHBP1A (ORCPT ); Wed, 2 Aug 2023 11:27:00 -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 8F2E34EF5; Wed, 2 Aug 2023 08:24: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 0779561A1E; Wed, 2 Aug 2023 15:24:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CC64C433C7; Wed, 2 Aug 2023 15:24:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690989870; bh=AsAwCL7YysIyiApwU0DEZ4rat1nzt2aX13d1nS4nuDM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bjlME2upSvXRAf/m/cuZiwmo5VnVspD8x1KGckoVYQHKmQplffbUWB1H7uK4qoUbt PK8ca8wW+aNrIfdVEofOBhya1CiO7YkGKnDgOYBX8Y/96WuTNBDXaCdKIVoneZ4neu 4ET1Zs5R64PtWXwfAcZNi/3Xcuwrd8WrG6SGevC3Zrz40MzstmH8cJLFfny/MreVL/ 6r2Vn0UxD1V2B89tmD8j7KnRXqaf/u34yVV8tTxPgCTeQKo6xSeB4QngdPUZt8tsxy pbStjBW31lQFPs2Pi74aEJTB+8r0w9LYtn80AZx14nr2St7H1sjMHpiIHUBOBMyhZ4 Aib0mqDq/8UwQ== Date: Wed, 2 Aug 2023 17:24:25 +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 4/4][next] i40e: Replace one-element array with flex-array member in struct i40e_profile_aq_section Message-ID: References: <8b945fa3afeb26b954c400c5b880c0ae175091ac.1690938732.git.gustavoars@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8b945fa3afeb26b954c400c5b880c0ae175091ac.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:07:06PM -0600, Gustavo A. R. Silva wrote: > One-element and zero-length arrays are deprecated. So, replace > one-element array in struct i40e_profile_aq_section 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