[alsa-devel] [PATCH 3/3] lx6464es: use %*phN to print small buffer in hex form
andriy.shevchenko at linux.intel.com
Wed May 29 13:29:24 CEST 2013
On Wed, 2013-05-29 at 12:16 +0200, Takashi Iwai wrote:
> > strcpy(card->driver, "LX6464ES");
> > - sprintf(card->id, "LX6464ES_%02X%02X%02X",
> > - chip->mac_address, chip->mac_address, chip->mac_address);
> > + sprintf(card->id, "LX6464ES_%3phN", chip->mac_address + 3);
> The same problem as my previous comment. The case incompatible.
Here is card->id, which might be used by userspace in defined form.
I rather agree with your objection here.
Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Intel Finland Oy
More information about the Alsa-devel