Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9973271imu; Wed, 5 Dec 2018 13:37:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/W5Q8zMqms9KZjs9AWiDhnomgyBS7n0fERJsP3AnMiVgCJobop6iK7xdgHXH4Z58oeC15fS X-Received: by 2002:a63:310:: with SMTP id 16mr21353741pgd.79.1544045865010; Wed, 05 Dec 2018 13:37:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544045864; cv=none; d=google.com; s=arc-20160816; b=w3X5QacAffkXE0NnLbItSFWANVNObtOQ0QLRmhom/PxQ6Suj79zcX5iod8dvtHOelf QvtQGq59PyZU0G98PM58+qOie1AGYF9mqp9zGNR9mfcJDSAN9fafwOiOwkfi3q5l3Lz8 eLm0DxxNjWHyuYFrGpIBXQ03w7BDVwhJpuIXzceayyniajJNEpriBqF+uBnBEHHiFqic CqCyLfQRuHFxWVnAr5zPEphNWce/vrCFV7UgJ8ALUsbDt5yVeFbNgp+RXQ+Fwh5XZDeX RCDMYvJF8+Z5lXNydx76PGNly5IUGr1z68d3/hoscijFWt0Ww6NokZAMg+ysS5oAjz4m 59MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dkim-signature; bh=+sjIeKW3FYcMFqeagTauYO4NZrxG10uwKgi88/M3S1w=; b=MJwZdGu3hV/c4YQVeNPqJF9im3mYbB4atg+ZcMbzo+T6WGZTwc7+b21jnoA0865tSh VmKSt8PCjGzEqqkDMc/+qHFBjeBHosW/fLvU9YssLNUV5NwPkhGLRkZMFowGkQ0pjJ66 2ZPNZ2oal8LPps1VX1wAWDRSCgq8sw3POzAELdecJ1HtBGTtkKgLXMHDJcE3r1Yryv24 TW1qMg6LsvuQ+wpx328Ch1GZtEwJMEphnXhJVNlN0ORjzbmm/FEG3byHZSkIpfeKv8FA ko65rJTQLjUJv6L0jBGku8Tb6A5ZyERp3Uk7zSABLhhCYluKw0RAPTdgKev1QYedAuCv ifcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iFrAqxFW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v11si19843857plp.85.2018.12.05.13.37.29; Wed, 05 Dec 2018 13:37:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iFrAqxFW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728256AbeLEVgu (ORCPT + 99 others); Wed, 5 Dec 2018 16:36:50 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:40502 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727257AbeLEVgu (ORCPT ); Wed, 5 Dec 2018 16:36:50 -0500 Received: by mail-ed1-f65.google.com with SMTP id d3so18302785edx.7 for ; Wed, 05 Dec 2018 13:36:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=+sjIeKW3FYcMFqeagTauYO4NZrxG10uwKgi88/M3S1w=; b=iFrAqxFWD5Bkb/ClWLF+v1m6w5iCcXLJs8Sr4GsAIP2ZHOhyvijb8ZWFlmroLSDZBa r8uwfXkHZkR2KwNLr639mVVesyMLEUZCLQT0IHIDvKd4Rcal+nn74pGgknYsLLK7hU5f wYWK8+221oUMkTFVK8XsJzctk5arE+Vm0AByZeJp/VUyrJP4rt/04NtcOCkoTaFcoFYu Ey4K1WKvsXStRX4+L1hYa0zpFmnK8FbYIcD67lKV8UlQhX/7VXx+Icy7oft26VKXfDvq Ufv2HHVnVttht8HV/KqtoRU25Zw9urpRTKxh9+io/Iul9NXlWq7vjvKGQW3K6GrIm8Wm xScg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=+sjIeKW3FYcMFqeagTauYO4NZrxG10uwKgi88/M3S1w=; b=J7QWn2jyO+Vg355XqwfL15U0vSAhqf+rbDXEJXXRYC1NNMz3fGdeYxxpHeY5oAKg4F tBsSdVBHomgJZpLeGYl/Er8EYNvVImrUjyjRvyV4NWGJC39Q3P14n3aKK6Vm7lImWVfr icJEYwExRVRtdV0uUv5xpKOZE1YGp95GiV+2snF7jxyG1shc1JlG1pQnqOqeAycfkl4o bt8A4xSPs5BAxbeyUCq75HFF5QMRtIIY2Iixa9asoTee6VleLsFlZzX2+l2UlbAIlLPh zHyq9MSol6QQhovbgrln2kTA6GXjwZRW9ABugGvbMC2Ob8hyrS2rWjCZmnYTRYBIGpmt 69Uw== X-Gm-Message-State: AA+aEWZ1+6EJ3fGPtKXsHlfRpfT1n1TEJfexngGeM/fJtYcp+jY3Ivhg h3YLg21p+iV/BwTtAh5Ao8x06fQI X-Received: by 2002:a17:906:6308:: with SMTP id p8-v6mr19910299ejk.100.1544045808658; Wed, 05 Dec 2018 13:36:48 -0800 (PST) Received: from dell.be.48ers.dk (d51a5bc31.access.telenet.be. [81.165.188.49]) by smtp.gmail.com with ESMTPSA id e35sm5763234eda.13.2018.12.05.13.36.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Dec 2018 13:36:47 -0800 (PST) Received: from peko by dell.be.48ers.dk with local (Exim 4.89) (envelope-from ) id 1gUeqc-000405-UZ; Wed, 05 Dec 2018 22:36:46 +0100 From: Peter Korsgaard To: Jean Delvare Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] Revert "firmware: dmi_scan: Use lowercase letters for UUID" References: <20181205211351.5309-1-peter@korsgaard.com> Date: Wed, 05 Dec 2018 22:36:46 +0100 In-Reply-To: <20181205211351.5309-1-peter@korsgaard.com> (Peter Korsgaard's message of "Wed, 5 Dec 2018 22:13:51 +0100") Message-ID: <87mupjzmdt.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Peter" == Peter Korsgaard writes: > This reverts commit 712ff25450bd01366301eef81c33e865d901e7b7. > The output of dmi_save_uuid() is exposed to user space as > /sys/devices/virtual/dmi/id/*_uuid, so this breaks backwards compatibility, > E.G. I have systems that include the content of dmi/id/product_uuid as part > of the keyphrase for cryptsetup luksOpen. > As the change was purely cosmetical, revert it to fix such breakage. > Signed-off-by: Peter Korsgaard Sorry, this should have had a: Cc: stable@vger.kernel.org As 4.19 is affected. Jean, can you add that when committing? > --- > drivers/firmware/dmi_scan.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c > index 099d83e4e910..2ed51651565f 100644 > --- a/drivers/firmware/dmi_scan.c > +++ b/drivers/firmware/dmi_scan.c > @@ -211,9 +211,9 @@ static void __init dmi_save_uuid(const struct dmi_header *dm, int slot, > * says that this is the defacto standard. > */ > if (dmi_ver >= 0x020600) > - sprintf(s, "%pUl", d); > + sprintf(s, "%pUL", d); > else > - sprintf(s, "%pUb", d); > + sprintf(s, "%pUB", d); > dmi_ident[slot] = s; > } > -- > 2.11.0 -- Bye, Peter Korsgaard