Skip to content

tty: Fix some coding style issues

Xiaofei Tan lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 0 repliesNew
  2. v210 patches 2 repliesSuperseded
  3. v110 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10tty/sysrq: Add a blank line after declarationsdrivers/tty/sysrq.c+1 -00 replies
2/10tty/sysrq: Fix issues of code indent should use tabsdrivers/tty/sysrq.c+17 -170 replies
3/10tty: tty_jobctrl: Add a blank line after declarationsdrivers/tty/tty_jobctrl.c+5 -00 replies
4/10tty: tty_jobctrl: Fix coding style issues of block commentsdrivers/tty/tty_jobctrl.c+10 -60 replies
5/10tty: tty_jobctrl: Remove spaces before tabsdrivers/tty/tty_jobctrl.c+4 -40 replies
6/10tty: tty_ldisc: Fix an issue of code indent should use tabsdrivers/tty/tty_ldisc.c+1 -10 replies
7/10tty: tty_ldisc: Add a blank line after declarationsdrivers/tty/tty_ldisc.c+2 -00 replies
8/10tty: tty_ldisc: Fix coding style issues of block commentsdrivers/tty/tty_ldisc.c+20 -120 replies
9/10tty: tty_ldisc: Do not use assignment in if conditiondrivers/tty/tty_ldisc.c+2 -10 replies
10/10tty: tty_ldisc: Remove the repeated word 'the'drivers/tty/tty_ldisc.c+1 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 00/10] tty: Fix some coding style issues

Fix some issues reported by checkpatch.pl. All of them are coding style issues, no function changes.

Differences from v2 to v3:
- Fix the misunderstanding of 'period' for the patch 04/10.

Differences from v1 to v2:
- Remove one redundant tab for the patch 02/10.
- Add some expression optimization for some sentenses following
- Jiri's advice for the patch 04/10.

Xiaofei Tan (10):
tty/sysrq: Add a blank line after declarations tty/sysrq: Fix issues of code indent should use tabs
tty: tty_jobctrl: Add a blank line after declarations
tty: tty_jobctrl: Fix coding style issues of block comments
tty: tty_jobctrl: Remove spaces before tabs
tty: tty_ldisc: Fix an issue of code indent should use tabs
tty: tty_ldisc: Add a blank line after declarations
tty: tty_ldisc: Fix coding style issues of block comments
tty: tty_ldisc: Do not use assignment in if condition
tty: tty_ldisc: Remove the repeated word 'the'

 drivers/tty/sysrq.c       | 35 ++++++++++++++++++-----------------
 drivers/tty/tty_jobctrl.c | 29 +++++++++++++++++++----------
 drivers/tty/tty_ldisc.c   | 41 ++++++++++++++++++++++++++---------------
 3 files changed, 63 insertions(+), 42 deletions(-)
Signature · 1 line
2.8.1