From patchwork Wed Nov 9 23:24:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 119669 Return-Path: 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]) by inbox.dpdk.org (Postfix) with ESMTP id D146CA0093; Thu, 10 Nov 2022 00:24:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C804440143; Thu, 10 Nov 2022 00:24:56 +0100 (CET) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id 9E6F1400D4 for ; Thu, 10 Nov 2022 00:24:55 +0100 (CET) Received: by mail-pf1-f177.google.com with SMTP id b29so140724pfp.13 for ; Wed, 09 Nov 2022 15:24:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gX7AY9J6Je4HH0v/BIsXE/v6Gs6FT9CryITR/uylwnQ=; b=TR+DbxGFPlSy6QFTM3F+h/xrjk70HhJfAdwUtnCJ7nRK8zkUYbej/CQUwxJXwQkf/s 3/Au/SVUNJtzDD0WElNciaUZCUHy5/PGSkCjRCsUOLBCRQIeL7E0qFKHr9wRRYbLMp47 qaChsvG8KHCyZWcTCTfo/HR4ghJQ1INjjo1kyvnHCsQDHVmTzOfuquFM6lS8K1MrkWvK 1+AuTLyo/xld1QR+ZmYrcTeyNcHLm/GNRDQEAkv1m+l14/Pq7d6jw9VGrsBxFRxSHr6L oqZSHvn1GFjkvd2HwaJ+LRkBX0E7ifyJzkPGzww91WmfPpMKgbU8ziGa2CX7SP1Fz19h 2mPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gX7AY9J6Je4HH0v/BIsXE/v6Gs6FT9CryITR/uylwnQ=; b=2QX6zzqnmPrRNpacIO/yE+0W1A0TY/hpoIlIJjbO4ZPKJtI7LKHubmBzDbOl7jyN97 p3xKmL6Dxu6edTj6K04yEgxXm3S7uRycUqHUMmUth2SxR5RrvpdJepKw9DZOzbj4nn+i BhNRSpDjPiScJsOkuvuu+fFspmezCS+JQWovpIfzpazqOu3rRZkUk8r6IAdzqb5q96Fp aSw6wxLhSo0X/2D4J9SfoxGUSiqc02Rd0UL6ycNcq27IUCxEvrPkO6Kkfng4xMJZEO8D E/wbhQ643p0ETM3aXOlg+jyeyA/8412cCdruR4sXY0R1ldViC6/gvccrHpFdN7pOYqd2 tk0g== X-Gm-Message-State: ACrzQf15e3zotxG9VvU4TpCOwrteeEzKtQWrhfFMuABWPJXg3Dv5DhJm MCdEuy0pyTnCK/+zmzO4F4zSicRjzyX7BQ== X-Google-Smtp-Source: AMsMyM6t4t9XaRL6j/rr6zOVPOCZWQoot2MRmzrXh0qcLG4mhobjxm0Bi1532t3ADoat4d6jA9Rctg== X-Received: by 2002:a63:5624:0:b0:46f:b2a5:6294 with SMTP id k36-20020a635624000000b0046fb2a56294mr1315567pgb.570.1668036294280; Wed, 09 Nov 2022 15:24:54 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id y28-20020aa79e1c000000b0056e15b7138esm8798645pfq.157.2022.11.09.15.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 15:24:53 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 00/14] whitespace after keywords Date: Wed, 9 Nov 2022 15:24:37 -0800 Message-Id: <20221109232451.265059-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221109191445.140320-1-stephen@networkplumber.org> References: <20221109191445.140320-1-stephen@networkplumber.org> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The DPDK standard now enforced through checkpatch is to use a space after keywords. Much of the older code that was grandfathered in doesn't follow that, so fix it. No urgency to this patchset, and it might just be viewed as churn. But I prefer to read code that looks all the same. “A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines. With consistency a great soul has simply nothing to do. He may as well concern himself with his shadow on the wall." -- Ralph Waldo Emerson v3 - fix typo in previous version (forgot to remove one brace) and find a few more leftover uses of "for(" and "while(" Stephen Hemminger (14): eal: fix whitespace cmdline: fix whitespace timer: fix whitespace ip_frag: fix whitespace testpmd: fix whitespace test: fix whitespace examples/qos_sched: fix whitespace examples/vhost: fix whitespace l3fwd: fix whitespace examples: fix whitespace bus/pci: fix whitespace net/e1000: fix whitespace net/i40e: fix whitespace net/bnx2x: fix whitespace app/test-pmd/cmdline.c | 31 +++++++++++----------- app/test-pmd/parameters.c | 10 ++++--- app/test-pmd/testpmd.c | 2 +- app/test/test_cmdline_cirbuf.c | 4 +-- app/test/test_debug.c | 4 +-- app/test/test_hash.c | 6 ++--- app/test/test_lpm6_perf.c | 2 +- app/test/test_malloc.c | 14 +++++----- app/test/test_mbuf.c | 14 +++++----- app/test/test_ring_perf.c | 2 +- app/test/test_spinlock.c | 2 +- drivers/bus/pci/bsd/pci.c | 2 +- drivers/net/bnx2x/bnx2x.h | 2 +- drivers/net/e1000/em_ethdev.c | 4 +-- drivers/net/e1000/igb_ethdev.c | 8 +++--- drivers/net/e1000/igb_pf.c | 2 +- drivers/net/e1000/igb_rxtx.c | 2 +- drivers/net/i40e/i40e_pf.c | 8 +++--- examples/cmdline/parse_obj_list.c | 2 +- examples/ip_reassembly/main.c | 2 +- examples/l3fwd-power/main.c | 7 ++--- examples/l3fwd/main.c | 7 ++--- examples/multi_process/symmetric_mp/main.c | 6 ++--- examples/qos_sched/app_thread.c | 6 ++--- examples/qos_sched/args.c | 2 +- examples/qos_sched/init.c | 2 +- examples/qos_sched/main.c | 4 +-- examples/vhost/main.c | 7 +++-- lib/cmdline/cmdline_parse_string.c | 17 +++++------- lib/cmdline/cmdline_rdline.c | 12 ++++----- lib/eal/include/generic/rte_cycles.h | 4 +-- lib/eal/linux/eal_hugepage_info.c | 6 ++--- lib/eal/linux/eal_interrupts.c | 2 +- lib/ip_frag/rte_ipv4_reassembly.c | 2 +- lib/timer/rte_timer.c | 2 +- 35 files changed, 104 insertions(+), 105 deletions(-)