From: Raghu Vatsavayi <rvatsav...@caviumnetworks.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.

Reply via email to