Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mvN0t-0002H2-Pc for mharc-grub-devel@gnu.org; Thu, 09 Dec 2021 12:15:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvN0o-0002DX-DR for grub-devel@gnu.org; Thu, 09 Dec 2021 12:15:18 -0500 Received: from [2607:f8b0:4864:20::f30] (port=46601 helo=mail-qv1-xf30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvN0m-00056L-8W for grub-devel@gnu.org; Thu, 09 Dec 2021 12:15:18 -0500 Received: by mail-qv1-xf30.google.com with SMTP id jo22so5651444qvb.13 for ; Thu, 09 Dec 2021 09:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/CV/nxTa2TomYVxUOaFQLUjOUMRX3xrteaohI9Mg9rc=; b=WIvLg/9Q79EoaxFPTLrmBWJU4JAoCN8tNZyO1g6RxhDKL3H9/ga5GmwquU44N5X827 pHWo4pU8WtlHuqZGYxy7i+S5E/OGQBJOeKELQlmEcOhwFWP/qKM9mjmveHaIQr30kchA F+ELSBCWc6SnDFDT92DzkSqEi1E7sxtmRUBbW7lkkM7gEFBTu7aN5gmjEiWvzjRmadtd RKQZIGiD/E/qX8HnefEVPgmpCz6l5jpr701O2CL4ZcpoFbYkY7hWtstMl92WXeWEK8yU aIu6XASu+xWFRnOWGW3lZYuPHgiYnV5xAn1WXMlFcbzxbYadwuRy8n232/6tzwV3+NAF 3Xrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/CV/nxTa2TomYVxUOaFQLUjOUMRX3xrteaohI9Mg9rc=; b=nXuxZFbJ1qLstsbl6b7+FqDklrQpdu4boFH7avF81tHEsMXRy/g1Huo4cHC9pKndBW q5WfE1u3+f7d51i4AvfhtEV/EJvxWsRPBVC3aFHxsbc6TC64xKY+bDK+uPtuhgRSuoeV GEdmXRPSEA3Yn+urLt5d6V2sDvritLrNpau77qIZ9VjLZ6ENO/a3OYw2fgLQqbFhUy0Y EC7GmzgVl+GWi5rxos06RA4qNo7RRMjHr74HtOfv0z0ON6POfZ6jtZEIfhVeVRcKyU/i f2G1h6Zo24Hz0jJSloztNq3ebdHGTE0JGmU62IRAaEWGTAX+ppz/A6FV+vYUNIySz9Bc YBUw== X-Gm-Message-State: AOAM531gia/0OSSNQcqAr4l5PcZ8CN22z/irYQcPLtJYwvMTSNyw5PRQ 5IZrWQ53nIstHf593kwV5TEozQ== X-Google-Smtp-Source: ABdhPJzAvB1MvUr5RUn3kvO7cqdkrz4bnwccS7iM5MNSttaarh6M49C0ou2ASveqPZ/ReZLGSQE1Tw== X-Received: by 2002:ad4:40c6:: with SMTP id x6mr17852582qvp.32.1639070115442; Thu, 09 Dec 2021 09:15:15 -0800 (PST) Received: from localhost.localdomain ([37.218.244.251]) by smtp.gmail.com with ESMTPSA id m9sm151839qkn.59.2021.12.09.09.15.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 09:15:15 -0800 (PST) From: Glenn Washburn To: Daniel Kiper , grub-devel@gnu.org Cc: Denis 'GNUtoo' Carikli , Patrick Steinhardt , James Bottomley , Glenn Washburn Subject: [PATCH v5 1/9] luks2: Add debug message to align with luks and geli modules Date: Thu, 9 Dec 2021 11:14:50 -0600 Message-Id: <334824e5ef5bc5608e739b2446dde47d594682e7.1639069499.git.development@efficientek.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f30; envelope-from=development@efficientek.com; helo=mail-qv1-xf30.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2021 17:15:19 -0000 Signed-off-by: Glenn Washburn --- grub-core/disk/luks2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/grub-core/disk/luks2.c b/grub-core/disk/luks2.c index 371a53b83..fea196dd4 100644 --- a/grub-core/disk/luks2.c +++ b/grub-core/disk/luks2.c @@ -370,7 +370,10 @@ luks2_scan (grub_disk_t disk, const char *check_uuid, int check_boot) uuid[j] = '\0'; if (check_uuid && grub_strcasecmp (check_uuid, uuid) != 0) - return NULL; + { + grub_dprintf ("luks2", "%s != %s\n", uuid, check_uuid); + return NULL; + } cryptodisk = grub_zalloc (sizeof (*cryptodisk)); if (!cryptodisk) -- 2.27.0