Skip to content

hamradio: mkiss: modernize and clean up mkiss driver

Mashiro Chen linux-hams lkml netdev 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/5hamradio: mkiss: move assignments out of if conditionsdrivers/net/hamradio/mkiss.c+6 -30 replies
2/5hamradio: mkiss: remove redundant static initialization to 0drivers/net/hamradio/mkiss.c+1 -10 replies
3/5hamradio: mkiss: fix spacing around assignment operatordrivers/net/hamradio/mkiss.c+1 -10 replies
4/5hamradio: mkiss: modernize logging with netdev and pr macrosdrivers/net/hamradio/mkiss.c+17 -340 replies
5/5hamradio: mkiss: cleanup indentation and coding styledrivers/net/hamradio/mkiss.c+19 -150 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] hamradio: mkiss: modernize and clean up mkiss driver

This patch series modernizes the mkiss driver, which is used for AX.25 communication over serial lines.

The series starts by moving variable assignments out of 'if' conditions to improve code safety and readability.
The second patch removes redundant static initializations to 0. The third patch fixes missing spaces around assignment operations. The fourth patch modernizes the logging system by replacing legacy printk() calls with netdev_* and pr_* macros for better device-specific context.
The fifth patch addresses remaining checkpatch.pl issues, primarily converting space-based indentation to tabs, aligning parameters, and fixing comment formats.

These changes have been compile-tested.

Mashiro Chen (5):
hamradio: mkiss: move assignments out of if conditions
hamradio: mkiss: remove redundant static initialization to 0
hamradio: mkiss: fix spacing around assignment operator
hamradio: mkiss: modernize logging with netdev and pr macros
hamradio: mkiss: cleanup indentation and coding style

 drivers/net/hamradio/mkiss.c | 98 ++++++++++++++++--------------------
 1 file changed, 44 insertions(+), 54 deletions(-)
Signature · 1 line
2.53.0