summaryrefslogtreecommitdiffstats
path: root/lib/test_uuid.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-14 13:33:39 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-14 13:33:39 -0700
commitf75f6ff2eaa626d32dd3225e3008f807741ad1c5 (patch)
tree91446916eff11bc8b900ca4a4a67561021354e53 /lib/test_uuid.c
parentc92316bf8e94830a0225f2e904cbdbd173768419 (diff)
parentef954844c7ace62f773f4f23e28d2d915adc419f (diff)
downloadlinux-f75f6ff2eaa626d32dd3225e3008f807741ad1c5.tar.bz2
Merge 4.13-rc5 into driver-core-next
We want the fixes in here as well for testing. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_uuid.c')
-rw-r--r--lib/test_uuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test_uuid.c b/lib/test_uuid.c
index 478c049630b5..cd819c397dc7 100644
--- a/lib/test_uuid.c
+++ b/lib/test_uuid.c
@@ -82,7 +82,7 @@ static void __init test_uuid_test(const struct test_uuid_data *data)
test_uuid_failed("conversion", false, true, data->uuid, NULL);
total_tests++;
- if (uuid_equal(&data->be, &be)) {
+ if (!uuid_equal(&data->be, &be)) {
sprintf(buf, "%pUb", &be);
test_uuid_failed("cmp", false, true, data->uuid, buf);
}