]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vsprintf: add %pMR for Bluetooth MAC address
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Mon, 30 Jul 2012 21:40:23 +0000 (14:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:14 +0000 (17:25 -0700)
commit76597ff989a1fbaa9b9a1e54007cd759bf257ab7
tree51c5a7e99de7ff2ba88ba73b110a60c623c5d32c
parent61e99ab8e35a88b8c4d0f80d3df9ee16df471be5
vsprintf: add %pMR for Bluetooth MAC address

Bluetooth uses mostly LE byte order which is reversed for visual
interpretation.  Currently in Bluetooth in use unsafe batostr function.

This is a slightly modified version of Joe's patch (sent Sat, Dec 4,
2010).

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Cc: Joe Perches <joe@perches.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/printk-formats.txt
lib/vsprintf.c