Kaynağa Gözat

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>
Stefan Schmidt 8 yıl önce
ebeveyn
işleme
e03551d7b9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      drivers/net/ieee802154/fakelb.c

+ 1 - 1
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: