All of lore.kernel.org
 help / color / mirror / Atom feed
* + lib-uuid-introduce-few-more-generic-helpers-for-uuid-fix.patch added to -mm tree
@ 2016-04-06 17:33 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2016-04-06 17:33 UTC (permalink / raw)
  To: andriy.shevchenko, mm-commits


The patch titled
     Subject: lib-uuid-introduce-few-more-generic-helpers-for-uuid fix
has been added to the -mm tree.  Its filename is
     lib-uuid-introduce-few-more-generic-helpers-for-uuid-fix.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/lib-uuid-introduce-few-more-generic-helpers-for-uuid-fix.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/lib-uuid-introduce-few-more-generic-helpers-for-uuid-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: lib-uuid-introduce-few-more-generic-helpers-for-uuid fix

Fix typo.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/uuid.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN lib/uuid.c~lib-uuid-introduce-few-more-generic-helpers-for-uuid-fix lib/uuid.c
--- a/lib/uuid.c~lib-uuid-introduce-few-more-generic-helpers-for-uuid-fix
+++ a/lib/uuid.c
@@ -106,7 +106,7 @@ static int __uuid_to_bin(const char *uui
 	static const u8 si[16] = {0,2,4,6,9,11,14,16,19,21,24,26,28,30,32,34};
 	unsigned int i;
 
-	if (uuid_is_valid(uuid))
+	if (!uuid_is_valid(uuid))
 		return -EINVAL;
 
 	for (i = 0; i < 16; i++) {
_

Patches currently in -mm which might be from andriy.shevchenko@linux.intel.com are

lib-vsprintf-simplify-uuid-printing.patch
ima-use-%pu-to-output-uuid-in-printable-format.patch
lib-uuid-move-generate_random_uuid-to-uuidc.patch
lib-uuid-introduce-few-more-generic-helpers-for-uuid.patch
lib-uuid-introduce-few-more-generic-helpers-for-uuid-fix.patch
lib-uuid-remove-fsf-address.patch
sysctl-use-generic-uuid-library.patch
efi-redefine-type-constant-macro-from-generic-code.patch
efivars-use-generic-uuid-library.patch
genhd-move-to-use-generic-uuid-library.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-06 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06 17:33 + lib-uuid-introduce-few-more-generic-helpers-for-uuid-fix.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.