Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tty: moxa: drop version dump to logs

The arbitrary MOXA_VERSION is dumped to the logs when the driver is
loaded. Avoid this as a driver should be silent unless something breaks.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250317070046.24386-19-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jiri Slaby (SUSE) and committed by
Greg Kroah-Hartman
0fdbeabf e10865aa

-5
-5
drivers/tty/moxa.c
··· 347 347 #define MX_PARMARK 0xA0 348 348 #define MX_PARSPACE 0x20 349 349 350 - #define MOXA_VERSION "6.0k" 351 - 352 350 #define MOXA_FW_HDRLEN 32 353 351 354 352 #define MOXAMAJOR 172 ··· 1324 1326 int retval = 0; 1325 1327 struct moxa_board_conf *brd = moxa_boards; 1326 1328 unsigned int i; 1327 - 1328 - printk(KERN_INFO "MOXA Intellio family driver version %s\n", 1329 - MOXA_VERSION); 1330 1329 1331 1330 tty_port_init(&moxa_service_port); 1332 1331