diff options
author | Tong Zhang <ztong0001@gmail.com> | 2021-02-15 14:23:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-15 13:03:22 -0800 |
commit | a67f06161558013b653d666213ecd66714ef3af8 (patch) | |
tree | a93feefd5d98422732ca12dba3344bb62bdc3853 /net/caif/chnl_net.c | |
parent | 62e69bc419772638369eff8ff81340bde8aceb61 (diff) | |
download | linux-a67f06161558013b653d666213ecd66714ef3af8.tar.gz linux-a67f06161558013b653d666213ecd66714ef3af8.tar.bz2 linux-a67f06161558013b653d666213ecd66714ef3af8.zip |
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>
Diffstat (limited to 'net/caif/chnl_net.c')
0 files changed, 0 insertions, 0 deletions