[PATCH 0/5] hamradio: mkiss: modernize and clean up mkiss driver
From: Mashiro Chen <hidden>
Date: 2026-03-29 14:34:55
Also in:
linux-hams, lkml
From: Mashiro Chen <hidden>
Date: 2026-03-29 14:34:55
Also in:
linux-hams, lkml
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(-) -- 2.53.0