summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-11-22 14:02:07 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-11-30 12:33:07 +0100
commite03551d7b99c35d7d35f6862c37e3ce9f7c6787c (patch)
tree7df27f32d48da8d116e6570e646f8e6818af93ce
parentieee802154: add myself as co-maintainer to MAINTAINERS file (diff)
downloadlinux-e03551d7b99c35d7d35f6862c37e3ce9f7c6787c.tar.xz
linux-e03551d7b99c35d7d35f6862c37e3ce9f7c6787c.zip
ieee802154: fakelb: print number of created fake devices during probe
When using fakelb with different network sizes it becomes handy to have the number of created fake devices printed in the log as well. Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
-rw-r--r--drivers/net/ieee802154/fakelb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/fakelb.c b/drivers/net/ieee802154/fakelb.c
index ec387efb61d0..0d673f7682ee 100644
--- a/drivers/net/ieee802154/fakelb.c
+++ b/drivers/net/ieee802154/fakelb.c
@@ -218,7 +218,7 @@ static int fakelb_probe(struct platform_device *pdev)
goto err_slave;
}
- dev_info(&pdev->dev, "added ieee802154 hardware\n");
+ dev_info(&pdev->dev, "added %i fake ieee802154 hardware devices\n", numlbs);
return 0;
err_slave: