Commit 66d6faec authored by Johannes Berg's avatar Johannes Berg Committed by James Bottomley

[SCSI] fcoe: convert to %pM

print_mac is being deprecated, and %pM makes for smaller
code anyway.
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Acked-by: default avatarRobert Love <robert.w.love@intel.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent e34ccdfe
...@@ -1104,7 +1104,6 @@ static void fcoe_ctlr_timeout(unsigned long arg) ...@@ -1104,7 +1104,6 @@ static void fcoe_ctlr_timeout(unsigned long arg)
struct fcoe_fcf *sel; struct fcoe_fcf *sel;
struct fcoe_fcf *fcf; struct fcoe_fcf *fcf;
unsigned long next_timer = jiffies + msecs_to_jiffies(FIP_VN_KA_PERIOD); unsigned long next_timer = jiffies + msecs_to_jiffies(FIP_VN_KA_PERIOD);
DECLARE_MAC_BUF(buf);
u8 send_ctlr_ka; u8 send_ctlr_ka;
u8 send_port_ka; u8 send_port_ka;
...@@ -1128,9 +1127,8 @@ static void fcoe_ctlr_timeout(unsigned long arg) ...@@ -1128,9 +1127,8 @@ static void fcoe_ctlr_timeout(unsigned long arg)
fcf = sel; /* the old FCF may have been freed */ fcf = sel; /* the old FCF may have been freed */
if (sel) { if (sel) {
printk(KERN_INFO "libfcoe: host%d: FIP selected " printk(KERN_INFO "libfcoe: host%d: FIP selected "
"Fibre-Channel Forwarder MAC %s\n", "Fibre-Channel Forwarder MAC %pM\n",
fip->lp->host->host_no, fip->lp->host->host_no, sel->fcf_mac);
print_mac(buf, sel->fcf_mac));
memcpy(fip->dest_addr, sel->fcf_mac, ETH_ALEN); memcpy(fip->dest_addr, sel->fcf_mac, ETH_ALEN);
fip->port_ka_time = jiffies + fip->port_ka_time = jiffies +
msecs_to_jiffies(FIP_VN_KA_PERIOD); msecs_to_jiffies(FIP_VN_KA_PERIOD);
......
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