lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ