Cover Detail
Show a cover letter.
GET /api/covers/112297/?format=api
http://patches.dpdk.org/api/covers/112297/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20220603111625.562070-1-bruce.richardson@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220603111625.562070-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220603111625.562070-1-bruce.richardson@intel.com", "date": "2022-06-03T11:16:21", "name": "[v4,0/4] clean up zero-length arrays", "submitter": { "id": 20, "url": "http://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20220603111625.562070-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 23318, "url": "http://patches.dpdk.org/api/series/23318/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=23318", "date": "2022-06-03T11:16:22", "name": "clean up zero-length arrays", "version": 4, "mbox": "http://patches.dpdk.org/series/23318/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/112297/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 7F7C7A055C;\n\tFri, 3 Jun 2022 13:16:40 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B7C2742B89;\n\tFri, 3 Jun 2022 13:16:35 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 9F63840694\n for <dev@dpdk.org>; Fri, 3 Jun 2022 13:16:32 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Jun 2022 04:16:31 -0700", "from silpixa00401385.ir.intel.com (HELO\n silpixa00401385.ger.corp.intel.com) ([10.237.222.171])\n by orsmga008.jf.intel.com with ESMTP; 03 Jun 2022 04:16:30 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1654254993; x=1685790993;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Vv8UqODd9txikV+Jg5W3tWlucolMhHTnA6MN6/Wkf/I=;\n b=YDwSbjtmnjFd2HeDjaCD83rdtHyqwG4N5tWGHQU3XBhstgnB0fZsL59n\n 9KQQXpk/5MFp8WJ8T1ZSx0CvSI9Mmi6EsGrtwb5ibjYoflMq8JZt+7K79\n fMWcAdSQf+xEmiSysY+EXRxvS+1/RLBRWrkt8YnF6KONtbCRh4wCW0xv0\n lUPNfW29Rde54fIpgmc45YL1R0RUfEmJGhZowvIsKFtP2yBSbP3gY+SAS\n IwHCG10PKNQVfFlfOdQROfERIb5J/WRKjdcvuGxQdeIIT4lLdBKxouPVC\n Umg3LiWHlwDya6mnYTz1A6jaBy9rSEL356KuTnSTPE6aPXC6Or9u333Dv w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10366\"; a=\"275031082\"", "E=Sophos;i=\"5.91,274,1647327600\"; d=\"scan'208\";a=\"275031082\"", "E=Sophos;i=\"5.91,274,1647327600\"; d=\"scan'208\";a=\"607356390\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "david.marchand@redhat.com,\n\tBruce Richardson <bruce.richardson@intel.com>", "Subject": "[PATCH v4 0/4] clean up zero-length arrays", "Date": "Fri, 3 Jun 2022 12:16:21 +0100", "Message-Id": "<20220603111625.562070-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20220602150834.643745-1-bruce.richardson@intel.com>", "References": "<20220602150834.643745-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "This patchset adds a coccinelle script to clean-up zero-length\narrays in structures. The final patches are the result of running\nthat script on the DPDK repository.\n\nV4: removed change from struct ipsec_encap_pdb in common/dpaax, which\n caused build errors\n\nV3: Fixed issues in mlx5 drivers:\n * fixed incorrect coccinelle replacement of 2-D zero-length arrays\n * undid removal of \"0\" in tx elts[] which caused issues with Werror-pedantic\n\nV2: rebased to fix apply conflict\n\nBruce Richardson (4):\n cocci: add script for zero-length arrays in structs\n drivers: replace zero-length arrays with undimensioned ones\n lib: replace zero-length arrays with undimensioned ones\n app: examples: replace zero-length arrays with undimensioned ones\n\n app/test/test_table_tables.c | 2 +-\n devtools/cocci/zero_length_array.cocci | 21 +++++++++++++++++++\n drivers/bus/dpaa/include/netcfg.h | 4 ++--\n drivers/bus/vmbus/rte_vmbus_reg.h | 4 ++--\n drivers/common/cnxk/roc_se.h | 2 +-\n drivers/common/dpaax/dpaax_iova_table.h | 2 +-\n drivers/common/mlx5/mlx5_prm.h | 10 ++++-----\n drivers/crypto/ipsec_mb/ipsec_mb_private.h | 4 ++--\n drivers/crypto/virtio/virtio_ring.h | 4 ++--\n drivers/crypto/virtio/virtqueue.h | 2 +-\n drivers/net/atlantic/hw_atl/hw_atl_utils.h | 2 +-\n drivers/net/cxgbe/clip_tbl.h | 2 +-\n drivers/net/cxgbe/l2t.h | 2 +-\n drivers/net/cxgbe/mps_tcam.h | 2 +-\n drivers/net/cxgbe/smt.h | 2 +-\n drivers/net/enic/base/vnic_devcmd.h | 2 +-\n drivers/net/hinic/hinic_pmd_tx.h | 2 +-\n drivers/net/nfp/nfpcore/nfp_nsp.h | 2 +-\n drivers/net/virtio/virtio_ring.h | 4 ++--\n drivers/net/virtio/virtio_user/vhost_kernel.c | 2 +-\n drivers/net/virtio/virtio_user/vhost_vdpa.c | 2 +-\n drivers/net/virtio/virtqueue.h | 2 +-\n drivers/regex/mlx5/mlx5_rxp.h | 4 ++--\n examples/ip_reassembly/main.c | 2 +-\n examples/ptpclient/ptpclient.c | 4 ++--\n lib/cryptodev/cryptodev_pmd.h | 2 +-\n lib/cryptodev/rte_cryptodev.h | 2 +-\n lib/eventdev/rte_event_timer_adapter.h | 2 +-\n lib/ip_frag/ip_reassembly.h | 2 +-\n lib/ipsec/sa.h | 2 +-\n lib/rib/rte_rib.c | 2 +-\n lib/rib/rte_rib6.c | 2 +-\n lib/table/rte_swx_table_learner.c | 4 ++--\n lib/table/rte_table_hash_key16.c | 4 ++--\n lib/table/rte_table_hash_key32.c | 4 ++--\n lib/table/rte_table_hash_key8.c | 4 ++--\n lib/vhost/rte_vhost.h | 4 ++--\n 37 files changed, 73 insertions(+), 52 deletions(-)\n create mode 100644 devtools/cocci/zero_length_array.cocci\n\n--\n2.34.1" }{ "id": 112297, "url": "