aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2012-02-10 20:17:59 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 10:19:49 -0500
commitb99fbf6a4e96ecacadf0f4868942774e0d64a648 (patch)
tree86f2a4c29640a901cb4971d1b31563ddd2f5664f /drivers/scsi/fcoe
parent3d2d752549150c2706f6bf8d8a2cceb89ef9f42e (diff)
[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: Robert Love <robert.w.love@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/fcoe')
-rw-r--r--drivers/scsi/fcoe/fcoe_transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c
index bd97b2273f20..0897be0ad7b6 100644
--- a/drivers/scsi/fcoe/fcoe_transport.c
+++ b/drivers/scsi/fcoe/fcoe_transport.c
@@ -620,8 +620,8 @@ static int libfcoe_device_notification(struct notifier_block *notifier,
620 620
621 switch (event) { 621 switch (event) {
622 case NETDEV_UNREGISTER: 622 case NETDEV_UNREGISTER:
623 printk(KERN_ERR "libfcoe_device_notification: NETDEV_UNREGISTER %s\n", 623 LIBFCOE_TRANSPORT_DBG("NETDEV_UNREGISTER %s\n",
624 netdev->name); 624 netdev->name);
625 fcoe_del_netdev_mapping(netdev); 625 fcoe_del_netdev_mapping(netdev);
626 break; 626 break;
627 } 627 }