Skip to content

tty/nozomi: general module cleanup

Joey Pabalinas lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 4 repliesSuperseded
  3. v24 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tty/nozomi: cleanup DUMP() macrodrivers/tty/nozomi.c+13 -130 replies
2/2tty/nozomi: fix inconsistent indentationdrivers/tty/nozomi.c+37 -370 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/2] tty/nozomi: general module cleanup

The nozomi module has a few sections which could use a bit of cleanup; both style and clarity could be improved while maintaining equivalent semantics.

Cleanup messy portions of the module code while preserving existing behavior by:

- Replacing constructs like len__ > TMP_BUF_MAX ? TMP_BUF_MAX : len__ with min_t(u32, len__, TMP_BUF_MAX) and function calls like snprintf(tbuf, ..., "%s", ...). with strscpy(tbuf, ..., ...).
- Correct inconsistently indented lines and extraneous whitespace.

CC Greg Kroah-Hartman <[email protected]>
CC Arnd Bergmann <[email protected]>
CC Jiri Slaby <[email protected]>

Joey Pabalinas (2):
tty/nozomi: cleanup DUMP() macro
tty/nozomi: fix inconsistent indentation

 drivers/tty/nozomi.c | 100 +++++++++++++++++++++----------------------
 1 file changed, 50 insertions(+), 50 deletions(-)
Signature · 1 line
2.17.0.rc1.35.g90bbd502d54fe92035.dirty