projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cc9204
)
ieee802154: fakelb: print number of created fake devices during probe
author
Stefan Schmidt
<stefan@osg.samsung.com>
Tue, 22 Nov 2016 13:02:07 +0000
(14:02 +0100)
committer
Stefan Schmidt
<stefan@osg.samsung.com>
Wed, 30 Nov 2016 11:33:07 +0000
(12:33 +0100)
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>
drivers/net/ieee802154/fakelb.c
patch
|
blob
|
history
diff --git
a/drivers/net/ieee802154/fakelb.c
b/drivers/net/ieee802154/fakelb.c
index ec387efb61d047e3444be02366ca86fdb1bfc1a7..0d673f7682ee065223b64462bc2c4df0a03826a0 100644
(file)
--- 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: