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
| ||
|
Date: Fri, 31 Jul 2020 10:49:08 +0300 From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com> To: Jacob Keller <jacob.e.keller@...el.com> Cc: Jeff Kirsher <jeffrey.t.kirsher@...el.com>, intel-wired-lan@...ts.osuosl.org, "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org Subject: Re: [PATCH v1] ice: devlink: use %*phD to print small buffer On Thu, Jul 30, 2020 at 02:20:46PM -0700, Jacob Keller wrote: > On 7/30/2020 9:04 AM, Andy Shevchenko wrote: > > Use %*phD format to print small buffer as hex string. > > > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com> > > Ah nice. I swear I looked for a printk format to do this and didn't find > one. But it's been there since 2012.. so I guess I just missed it. commit 31550a16a5d2af859e8a11839e8c6c6c9c92dfa7 Author: Andy Shevchenko <andriy.shevchenko@...ux.intel.com> Date: Mon Jul 30 14:40:27 2012 -0700 vsprintf: add support of '%*ph[CDN]' Maybe it was just a coincidence :-) > Reviewed-by: Jacob Keller <jacob.e.keller@...el.com> > > I also tested this on my system to make sure it gives the same output > for the serial value, so I guess also: > > Tested-by: Jacob Keller <jacob.e.keller@...el.com> Thanks! -- With Best Regards, Andy Shevchenko
Powered by blists - more mailing lists