From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934612AbdGTH4e (ORCPT ); Thu, 20 Jul 2017 03:56:34 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:32826 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933584AbdGTH4b (ORCPT ); Thu, 20 Jul 2017 03:56:31 -0400 From: Christoph Hellwig To: Andy Shevchenko , Amir Goldstein , Andreas Noever , Michael Jamet , Mika Westerberg , Yehezkel Bernat Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/3] uuid: fix incorrect uuid_equal conversion in test_uuid_test Date: Thu, 20 Jul 2017 09:56:22 +0200 Message-Id: <20170720075624.25619-2-hch@lst.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170720075624.25619-1-hch@lst.de> References: <20170720075624.25619-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: df33767d ("uuid: hoist helpers uuid_equal() and uuid_copy() from xfs") Reported-by: kernel test robot Signed-off-by: Christoph Hellwig --- lib/test_uuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.11.0