Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mtPHl-0003nf-Nq for mharc-grub-devel@gnu.org; Sat, 04 Dec 2021 02:16:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtPHg-0003mP-Bj for grub-devel@gnu.org; Sat, 04 Dec 2021 02:16:36 -0500 Received: from [2607:f8b0:4864:20::72c] (port=38522 helo=mail-qk1-x72c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtPHe-00047Y-4i for grub-devel@gnu.org; Sat, 04 Dec 2021 02:16:36 -0500 Received: by mail-qk1-x72c.google.com with SMTP id q64so5934897qkd.5 for ; Fri, 03 Dec 2021 23:16:33 -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=WW/I+pDKVJ+ljqkcEuiMFlS9Ju6IKmD40ilIM8BGA6yn9QqmdJOHlZWLo+Rc2azC/R G1UvOS7TYujI0KndvDw7QzpSNjUzGWz2xUW4x6jMBsB+0PVZZaIdPMLJh8wf6l91aISU potgSR0LkmJv4Ts+9EkF7Nv5cxRSWM02v023BsrOSG6Sr51kkZi2d5sqSV19yrQ0Xsjn JIANJxQZj3Fj38YFXVZVcdkygMg/pG+HJlTfjc4xckPY574RAuUIdXcoJEFT+iqYcm2q BI6v972HufO6NwdmPsBeuSPgvUQitn/x5oF19QqQTiVibA3y8L9COTFBzSERcDF+ui0F 9qqQ== 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=MbKDmRkynHKSvHI/U7VVLPguDs9Q0IJciA513yn/jA5nAn0+TUnqLwPmQ4SQ07aND7 43UBT0CmsB4VZ0pkBdiImbc2Usg2Pzc2PyuDY6FL2rCvKVBVbJcFo8QhUcZUz+88m4yv pS8wUg1kU8kTnorxw75IKw90M5APkP0b4X9Fra0jXjNqBdx3Ys56yXN/GCeILAdGN8dP W47b+SdhWsjnSbcVSfzXKTZWreysMY8xhPAxNMU0VYKs672cpXyAuyA8o7jYdSROzO+b D3z7ibIOW3YTIq65J3CYm1r4SDrW+dep5QLfAOTrfmFPeJR2sIwqXGVJy4+MjC5EZJva ndHA== X-Gm-Message-State: AOAM5321Yba4X0kAOwUCz61MOlCC8Akjz3Wfe3woMElPC3k+FYG8gzry g5QLM5UnnlCly7TXDwFU0lxg1A== X-Google-Smtp-Source: ABdhPJyY1UZy7IuGhtGwNOxu0EyzEsHSK4X77QAuTVl8fx67sb82kb+3CGoOjdz22+B4A2+avBXkuQ== X-Received: by 2002:a05:620a:4003:: with SMTP id h3mr21824978qko.153.1638602193188; Fri, 03 Dec 2021 23:16:33 -0800 (PST) Received: from localhost.localdomain (garza.riseup.net. [198.252.153.109]) by smtp.gmail.com with ESMTPSA id bs16sm3765382qkb.45.2021.12.03.23.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 23:16:32 -0800 (PST) From: Glenn Washburn To: Daniel Kiper , grub-devel@gnu.org Cc: Denis 'GNUtoo' Carikli , Patrick Steinhardt , James Bottomley , Glenn Washburn Subject: [PATCH v4 1/7] luks2: Add debug message to align with luks and geli modules Date: Sat, 4 Dec 2021 01:15:44 -0600 Message-Id: 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::72c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::72c; envelope-from=development@efficientek.com; helo=mail-qk1-x72c.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: Sat, 04 Dec 2021 07:16:36 -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