Messages in this thread | | | Date | Tue, 8 Dec 2015 16:30:21 +0000 | From | Charles Keepax <> | Subject | Re: [PATCH] mfd: wm831x: fix broken wm831x_unique_id_show |
| |
On Sun, Dec 06, 2015 at 12:39:39AM +0100, Rasmus Villemoes wrote: > wm831x_unique_id_show currently displays an interesting pattern of '0' > and '3' characters which isn't very useful (figuring out why is left > as an exercise for the reader). Presumably "buf[i]" should have been > "id[i] & 0xff". > > But while there, it is much simpler to simply use %phN and do all the > formatting at once. > > Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> > ---
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thanks, Charles
| |