i40evf: use correct format for printing MAC addresses
authorMitch Williams <mitch.a.williams@intel.com>
Sat, 10 May 2014 04:49:07 +0000 (04:49 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 8 Jun 2014 09:01:37 +0000 (02:01 -0700)
The correct format is %pM, not %pMAC.

Change-ID: Idb335723a966fe56db3a72b9c07c08ca66f9db3c
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c

index 5fd60ddb8ddabce62cafc2660925ec2037ac2083..590a9a42775f4a019061d8c639c7838c106c5f13 100644 (file)
@@ -2058,7 +2058,7 @@ static void i40evf_init_task(struct work_struct *work)
        netdev->hw_features &= ~NETIF_F_RXCSUM;
 
        if (!is_valid_ether_addr(adapter->hw.mac.addr)) {
-               dev_info(&pdev->dev, "Invalid MAC address %pMAC, using random\n",
+               dev_info(&pdev->dev, "Invalid MAC address %pM, using random\n",
                         adapter->hw.mac.addr);
                random_ether_addr(adapter->hw.mac.addr);
        }
@@ -2116,7 +2116,7 @@ static void i40evf_init_task(struct work_struct *work)
 
        netif_tx_stop_all_queues(netdev);
 
-       dev_info(&pdev->dev, "MAC address: %pMAC\n", adapter->hw.mac.addr);
+       dev_info(&pdev->dev, "MAC address: %pM\n", adapter->hw.mac.addr);
        if (netdev->features & NETIF_F_GRO)
                dev_info(&pdev->dev, "GRO is enabled\n");