From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iKOPf-0004zP-8S for mharc-grub-devel@gnu.org; Tue, 15 Oct 2019 11:07:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44052) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKOPd-0004yg-4r for grub-devel@gnu.org; Tue, 15 Oct 2019 11:07:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKOPc-0005Xm-6I for grub-devel@gnu.org; Tue, 15 Oct 2019 11:07:01 -0400 Received: from dibed.net-space.pl ([84.10.22.86]:42686) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1iKOPb-0005X5-RQ for grub-devel@gnu.org; Tue, 15 Oct 2019 11:07:00 -0400 Received: from router-fw.i.net-space.pl ([192.168.52.1]:52196 "EHLO tomti.i.net-space.pl") by router-fw-old.i.net-space.pl with ESMTP id S1909097AbfJOOYV (ORCPT ); Tue, 15 Oct 2019 16:24:21 +0200 X-Comment: RFC 2476 MSA function at dibed.net-space.pl logged sender identity as: dkiper Date: Tue, 15 Oct 2019 16:24:19 +0200 From: Daniel Kiper To: Javier Martinez Canillas Cc: grub-devel@gnu.org, Vladimir Serbinenko , Daniel Kiper , Paulo Flabiano Smorigo Subject: Re: [PATCH 2/3] Add %X option to printf functions Message-ID: <20191015142419.jegcsm74hvugg25q@tomti.i.net-space.pl> References: <20191004224427.22480-1-javierm@redhat.com> <20191004224427.22480-3-javierm@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191004224427.22480-3-javierm@redhat.com> User-Agent: NeoMutt/20170113 (1.7.2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 84.10.22.86 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2019 15:07:02 -0000 On Sat, Oct 05, 2019 at 12:44:26AM +0200, Javier Martinez Canillas wrote: > From: Paulo Flabiano Smorigo > > The printf(3) function has support for the %X format specifier, to output > an unsigned hexadecimal integer in uppercase. > > This can be achived in GRUB using the %x format specifier in grub_printf() > and calling grub_toupper(), but it is more convenient if there is support > for %X in grub_printf(). > > Signed-off-by: Paulo Flabiano Smorigo > Signed-off-by: Javier Martinez Canillas Reviewed-by: Daniel Kiper But I would like to see this as a first patch... Daniel