Skip to content

parport: cleanup several checkpatch issues

Carlos Palminha lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5parport: add newline to trailing statementsdrivers/parport/daisy.c drivers/parport/ieee1284.c drivers/parport/ieee1284_ops.c +3 more+30 -161 reply
2/5parport: cleanup prohibited space after functions namedrivers/parport/ieee1284.c drivers/parport/ieee1284_ops.c drivers/parport/parport_atari.c +6 more+370 -3701 reply
3/5parport: cleanup statics initialization to NULL or 0drivers/parport/daisy.c drivers/parport/parport_atari.c drivers/parport/parport_ip32.c +1 more+4 -40 replies
4/5parport: move open braces to the same linedrivers/parport/daisy.c drivers/parport/parport_gsc.c drivers/parport/parport_sunbpp.c+3 -60 replies
5/5parport: remove unnecessary bracesdrivers/parport/ieee1284.c drivers/parport/ieee1284_ops.c drivers/parport/parport_gsc.c +3 more+37 -480 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] parport: cleanup several checkpatch issues

cleanup 6 type of checkpatch issues, each type per patch:
- trailing statements should be on next line
- space prohibited between function name and open parenthesis '('
- do not initialise statics to 0 / NULL
- that open brace { should be on the previous line
- braces {} are not necessary for any arm of this statement

The patchset was based on linux next, tag next-20170714

Carlos Palminha (5):
parport: add newline to trailing statements
parport: cleanup prohibited space after functions name
parport: cleanup statics initialization to NULL or 0
parport: move open braces to the same line
parport: remove unnecessary braces

 drivers/parport/daisy.c          |  12 +-
 drivers/parport/ieee1284.c       | 267 +++++++++++++++---------------
 drivers/parport/ieee1284_ops.c   | 345 ++++++++++++++++++++-------------------
 drivers/parport/parport_atari.c  |   6 +-
 drivers/parport/parport_cs.c     |   4 +-
 drivers/parport/parport_gsc.c    |  78 ++++-----
 drivers/parport/parport_ip32.c   |   2 +-
 drivers/parport/parport_mfc3.c   |   4 +-
 drivers/parport/parport_pc.c     |   3 +-
 drivers/parport/parport_serial.c |  52 +++---
 drivers/parport/parport_sunbpp.c |  29 ++--
 drivers/parport/probe.c          |  46 +++---
 drivers/parport/procfs.c         |  28 ++--
 13 files changed, 438 insertions(+), 438 deletions(-)
Signature · 1 line
2.11.0