]> git.baikalelectronics.ru Git - kernel.git/commit
lib/uuid.c: use correct offset in uuid parser
authorBjørn Mork <bjorn@mork.no>
Mon, 30 May 2016 14:40:42 +0000 (17:40 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 May 2016 22:26:57 +0000 (15:26 -0700)
commitacba391ea35c4a987441d2293ed9d64909600b1f
tree4ab99d51ed39952bbd7500dca2abd2b7831184a5
parent7f2ffadaff952c0c6d341b6f14e725eed1ffc87b
lib/uuid.c: use correct offset in uuid parser

Use '+ 0' and '+ 1' as offsets, like they were intended, instead of
adding to the result.

Fixes: 459b100b94f6 ("lib/uuid.c: introduce a few more generic helpers")
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/uuid.c