OpenCloudOS-Kernel/drivers/net/wan/lmc
Tong Zhang a67f061615 net: wan/lmc: dont print format string when not available
dev->name is determined only after calling register_hdlc_device(),
however ,it is used by printk before the name is fully determined.

  [    4.565137] hdlc%d: detected at e8000000, irq 11

Instead of printing out a %d, print hdlc directly

Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-02-15 13:03:22 -08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
lmc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lmc_debug.c net: wan/lmc: Remove lmc_trace() 2020-09-29 14:02:54 -07:00
lmc_debug.h net: wan/lmc: Remove lmc_trace() 2020-09-29 14:02:54 -07:00
lmc_ioctl.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 426 2019-06-05 17:37:16 +02:00
lmc_main.c net: wan/lmc: dont print format string when not available 2021-02-15 13:03:22 -08:00
lmc_media.c net: wan/lmc: Remove lmc_trace() 2020-09-29 14:02:54 -07:00
lmc_proto.c net: remove unneeded break 2020-10-20 10:28:21 -07:00
lmc_proto.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lmc_var.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 426 2019-06-05 17:37:16 +02:00