efi/printf: Factor out width/precision parsing
authorArvind Sankar <nivedita@alum.mit.edu>
Mon, 18 May 2020 19:07:03 +0000 (15:07 -0400)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 19 May 2020 08:31:48 +0000 (10:31 +0200)
commit3fbcf75bb41a0ff02189f6e873ba4c5d7c54c6a9
treedcdea626410c989a6277545c4b70121caf59c508
parent7c30fd79168aeb83d11260246d93f8a293052007
efi/printf: Factor out width/precision parsing

Factor out the width/precision parsing into a helper function.

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