[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161110.121910.154188943242358141.davem@davemloft.net>
Date: Thu, 10 Nov 2016 12:19:10 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: rvatsavayi@...iumnetworks.com
Cc: netdev@...r.kernel.org, raghu.vatsavayi@...iumnetworks.com,
derek.chickles@...iumnetworks.com,
satananda.burla@...iumnetworks.com,
felix.manlunas@...iumnetworks.com
Subject: Re: [PATCH net-next V5 3/9] liquidio CN23XX: Mailbox support
From: Raghu Vatsavayi <rvatsavayi@...iumnetworks.com>
Date: Wed, 9 Nov 2016 15:13:46 -0800
> + dev_info(&oct->pci_dev->dev,
> + "PF changed VF's MAC address to %02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx\n",
> + mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
We have a standard mechanism to print network addresses, including
MAC ones, via the %pXXX format specifier. In this case you should
use "%pM" or "%pm" depending upon whether you want the address printed
with colon separators or not.
Powered by blists - more mailing lists