]> git.ipfire.org Git - thirdparty/linux.git/commit
netconsole: rename functions to better reflect their purpose
authorBreno Leitao <leitao@debian.org>
Fri, 13 Jun 2025 11:31:34 +0000 (04:31 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 16 Jun 2025 22:18:33 +0000 (15:18 -0700)
commitabebef96aab12da245e2a4fc4c3e6715a6239156
tree936f6e0844dcc1838d44de4ea822c15e71f9d0c0
parentccc7edf0ada83d395b634506eff9616360a99b5a
netconsole: rename functions to better reflect their purpose

Rename netpoll_parse_options() to netconsole_parser_cmdline() and
netpoll_print_options() to netconsole_print_banner() to better
describe what these functions actually do within the netconsole
context.

Also fix minor code style issues including variable declaration
ordering and spacing.

These functions are specific to netconsole functionality rather
than general netpoll operations, so the new names better reflect
their actual purpose.

Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250613-rework-v3-5-0752bf2e6912@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/netconsole.c