Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp491631rwo; Tue, 1 Aug 2023 22:17:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlFS8TyOOgNtlvwWvPwhp4gRUO+17jE7yBCQS9CH2irKQFTiJBgdglc4OmvcWr9TRewJB/CS X-Received: by 2002:a17:906:30d7:b0:994:55ce:1630 with SMTP id b23-20020a17090630d700b0099455ce1630mr3657684ejb.42.1690953427814; Tue, 01 Aug 2023 22:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690953427; cv=none; d=google.com; s=arc-20160816; b=Ye15h895S0CS2CqOtoH8ewCtR5cTNLJwff9knMb7vCEOu091wABzOpX7lkSuKsT40r VDsQSnnRPSbrTHqmAedfsQtWniS8S6VFRLIAIJVE6emEEgBWqplcY9M7mI6cTUxsz07l Rz8XemIEW7oOrIN8QH+5CKA8gZfLqL96M/kyVdKJl0OsP3W2SyPcdOhx2b70NzBd1hnE /TbwEZbsT2E8WNGYijRuOvcEIT05imYGWONHZbtf3BAyOjsHoe4TyYl5RaeoirrARxw7 gttV1hJfAcnfVcbwbLJyPstgBG5FQ5IREW9K2KmMNMb3108TLlINvHvvNHEf4V5zJt8f fpXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=5QaHQQShYVYgvApvvnNaaBglj65CfZpNlQQDMRKAbSM=; fh=AYiZm2VHaxgUWJPeY/6WBCkMM7AEcTe2V6vyOTon9B4=; b=pggJxezdiaCtxR0W3YK5EZqlG2xTi/gGB1fdPM8O4BfggVh7ajGplLCGWCpLmy4jvv j8RrLWhXwBkELRVsp6IeUJmZKCpcDz+yRk1fmiJfuuhRCm08ZimvXft3gyBwsHQFGfKY 5ZUpXtwQLKPhJzfQ27rxFkihEv9HZOSEIq7ezMZRwwI6IldhPkwGxDUplX5ebeyb3y6f Slh4hLN1mqkmtyC0xT1GbnMzQiW4vCs/TuhNlv+cAo9lijPX7CG1a+O3sk/F32tQurvE usRRGi54LB/CcWBdnH8Y9tBdE2Hiunuh5bGH2xMwmPUz1QUhs9tk03JITE1KEXISNKSd RNZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r8e2tnRr; 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 lu22-20020a170906fad600b0099bd0b5a2b7si9799060ejb.542.2023.08.01.22.16.15; Tue, 01 Aug 2023 22:17:07 -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=r8e2tnRr; 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 S231962AbjHBFDu (ORCPT + 99 others); Wed, 2 Aug 2023 01:03:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230525AbjHBFDs (ORCPT ); Wed, 2 Aug 2023 01:03:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5579C1FCF; Tue, 1 Aug 2023 22:03:47 -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 E577861789; Wed, 2 Aug 2023 05:03:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED9E6C433C8; Wed, 2 Aug 2023 05:03:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690952624; bh=Lh/8DXYnrVwSuT95CJrJrjg3AAwX2dmsR+R7uiAEAko=; h=Date:From:To:Cc:Subject:From; b=r8e2tnRr6NR/LJPVYeu/KXYVkqyD0lFLFN6wGOkUXSTnUvkHDwxIOHNPqVuq3fu18 dW+IjDhbZTUUy5VqJL3lObzr1M3wg9vwgla000FujrcSx8KH3fxIaGKnFHXW8HruSy aoeKf9L4La43QQvz+pDwhEZOykqvRb2M6cNfJOMAfR50hmRGcM19Wtos27b39mV66G G6E3LxGY1Sp5kwbXVMy+Y+h2BFcyVip+M00JjLHhuP6t9Xb4B90mubprHGO93YA9yX GGLeuFgMQoA9czqR3P1/u6sJZX5FR1OPeiUhgC8R0atIvazIzrSgdU5TvvZ6ZyLDcN Vc6wXOtl+e9Mw== Date: Tue, 1 Aug 2023 23:04:48 -0600 From: "Gustavo A. R. Silva" To: Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , fam1-i40e/0001-i40e-Replace-one-element-array-with-flex-array-membe.patch@work, fam1-i40e/0002-i40e-Replace-one-element-array-with-flex-array-membe.patch@work, fam1-i40e/0003-i40e-Replace-one-element-array-with-flex-array-membe.patch@work, fam1-i40e/0004-i40e-Replace-one-element-array-with-flex-array-membe.patch@work Cc: netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" , linux-hardening@vger.kernel.org Subject: [PATCH 0/4][next] i40e: Replace one-element arrays with flexible-array members Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Replace one-element arrays with flexible-array members in multiple structures. This results in no differences in binary output. Gustavo A. R. Silva (4): i40e: Replace one-element array with flex-array member in struct i40e_package_header i40e: Replace one-element array with flex-array member in struct i40e_profile_segment i40e: Replace one-element array with flex-array member in struct i40e_section_table i40e: Replace one-element array with flex-array member in struct i40e_profile_aq_section drivers/net/ethernet/intel/i40e/i40e_ddp.c | 4 ++-- drivers/net/ethernet/intel/i40e/i40e_type.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) -- 2.34.1