Bläddra i källkod

[SCSI] fcoe: Add format spacing to FCOE_NETDEV_DBG debug macro

There's currently no space between the interface name and the
user specified format/string. This patch adds a space and a colon
to the output to separate the interface name and the user
specified string.

So, instead of "ethXfoo" it will read "ethX: foo".

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Robert Love 15 år sedan
förälder
incheckning
ee610c6701
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      drivers/scsi/fcoe/fcoe.h

+ 1 - 1
drivers/scsi/fcoe/fcoe.h

@@ -61,7 +61,7 @@ do {                                                            	\
 
 
 #define FCOE_NETDEV_DBG(netdev, fmt, args...)			\
 #define FCOE_NETDEV_DBG(netdev, fmt, args...)			\
 	FCOE_CHECK_LOGGING(FCOE_NETDEV_LOGGING,			\
 	FCOE_CHECK_LOGGING(FCOE_NETDEV_LOGGING,			\
-			   printk(KERN_INFO "fcoe: %s" fmt,	\
+			   printk(KERN_INFO "fcoe: %s: " fmt,	\
 				  netdev->name, ##args);)
 				  netdev->name, ##args);)
 
 
 /*
 /*