mbox

[v2,00/14] whitespace after keywords

Message ID 20221109195331.143473-1-stephen@networkplumber.org (mailing list archive)
Headers

Message

Stephen Hemminger Nov. 9, 2022, 7:53 p.m. UTC
  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

v2 - fix related complaints from checkpatch
     if you touch a line, then it wants to make all the rules apply.

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_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/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         | 16 +++++------
 lib/cmdline/cmdline_rdline.c               | 12 ++++-----
 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 +-
 31 files changed, 99 insertions(+), 99 deletions(-)