Message ID | cover.1690938732.git.gustavoars@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp221296vqx; Tue, 1 Aug 2023 22:27:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlHl6ECpWGauZlBh6tvy7rjt5RFy9cSfXcqiDZ+hxEJbMSj6r7s15D/S4Faps+kgD7AYCDmC X-Received: by 2002:a05:6a21:7895:b0:132:1e76:6f02 with SMTP id bf21-20020a056a21789500b001321e766f02mr16450758pzc.34.1690954073909; Tue, 01 Aug 2023 22:27:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690954073; cv=none; d=google.com; s=arc-20160816; b=eUOgnVP8DGE25IZ7GoJehoveNNozZcznjOQJzJDoF4rjmaF86NIEVXc186N54e/KVE ZOMcL0I3L0XVBEZUGpEBFhHvWsatF7DgBwZbF8awA3vtH/d4HVNGRhC7Weoti3aJAS57 ifRrCFNKHnPXwStAZfI5n6aGvkymlekuqLM1O94c7txW4jRQPFMiSE+ZWqnTSwDnjIzE xptPd54rvd9FpT48JTvw26NVySQ76Ka1W/Ux0JF1T4mbwUWh0O/U50qy4Pw5GPe+gZwo 6FQc1o28YHp7GwMrsasE2weH6tBwxMVjpWWp9b2j5Nw870hbzqQ1nlNjD1CFlPohXuLl E24Q== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a170902f68900b001b9ffdd9488si6829315plg.624.2023.08.01.22.27.40; Tue, 01 Aug 2023 22:27:53 -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 S232001AbjHBFDu (ORCPT <rfc822;maxi.paulin@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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" <gustavoars@kernel.org> To: Jesse Brandeburg <jesse.brandeburg@intel.com>, Tony Nguyen <anthony.l.nguyen@intel.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, 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" <gustavoars@kernel.org>, linux-hardening@vger.kernel.org Subject: [PATCH 0/4][next] i40e: Replace one-element arrays with flexible-array members Message-ID: <cover.1690938732.git.gustavoars@kernel.org> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773093858685279799 X-GMAIL-MSGID: 1773093858685279799 |
Series |
i40e: Replace one-element arrays with flexible-array members
|
|
Message
Gustavo A. R. Silva
Aug. 2, 2023, 5:04 a.m. UTC
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(-)