]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
efi/printf: Add 64-bit and 8-bit integer support
authorArvind Sankar <nivedita@alum.mit.edu>
Mon, 18 May 2020 19:06:59 +0000 (15:06 -0400)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 19 May 2020 08:31:24 +0000 (10:31 +0200)
commitce5e3f909fc0ed67e58367b9c56a54c20a51080b
treea92ad08ee14073346bd8f1224569f49680aa73cd
parent29a2806653360f1ba0f7608ef64d65d441a575f7
efi/printf: Add 64-bit and 8-bit integer support

Support 'll' qualifier for long long by copying the decimal printing
code from lib/vsprintf.c. For simplicity, the 32-bit code is used on
64-bit architectures as well.

Support 'hh' qualifier for signed/unsigned char type integers.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200518190716.751506-8-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/vsprintf.c