[PATCH net-next v1 0/7] net: hsr: subsystem cleanups and modernization

luka.gejak
2026-03-24T14:47:04Z

This patch series performs a general cleanup and modernization of the
HSR(High-availability Seamless Redundancy) protocol driver. Since the
HSR subsystem is currently orphaned, these changes aim to bring the
code up to modern kernel standards and improve overall maintainability.

Luka Gejak (7):
net: hsr: constify hsr_ops and prp_ops protocol operation structures
net: hsr: replace fallthrough comments with fallthrough macro
net: hsr: remove unnecessary void function return statement
net: hsr: use __func__ instead of hardcoded function name
net: hsr: remove unnecessary braces for single statement block
net: hsr: add missing blank lines after function declarations
net: hsr: use BIT() macro for bit shift constant

net/hsr/hsr_device.c | 5 ++---
net/hsr/hsr_forward.c | 2 +-
net/hsr/hsr_framereg.c | 3 +--
net/hsr/hsr_framereg.h | 2 +-
net/hsr/hsr_main.h | 23 ++++++++++++++++++-----
net/hsr/hsr_netlink.c | 4 ++--
6 files changed, 25 insertions(+), 14 deletions(-)

--
2.53.0