Commit b99fbf6a authored by Robert Love's avatar Robert Love Committed by James Bottomley

[SCSI] libfcoe: Don't KERN_ERR on netdev notification

This is more of a debug statement. As a KERN_ERR we generate
log entries anytime any netdev goes up or down, so when booting
there are notification log entries for all system interfaces
including 'lo'. This is too much. Let's just log when necessary.
Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
Tested-by: default avatarRoss Brattain <ross.b.brattain@intel.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 3d2d7525
...@@ -620,7 +620,7 @@ static int libfcoe_device_notification(struct notifier_block *notifier, ...@@ -620,7 +620,7 @@ static int libfcoe_device_notification(struct notifier_block *notifier,
switch (event) { switch (event) {
case NETDEV_UNREGISTER: case NETDEV_UNREGISTER:
printk(KERN_ERR "libfcoe_device_notification: NETDEV_UNREGISTER %s\n", LIBFCOE_TRANSPORT_DBG("NETDEV_UNREGISTER %s\n",
netdev->name); netdev->name);
fcoe_del_netdev_mapping(netdev); fcoe_del_netdev_mapping(netdev);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment