Home
last modified time | relevance | path

Searched hist:"3 b835095" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/firmware/efi/libstub/
H A Dvsprintf.c3b835095 Mon May 18 14:07:00 CDT 2020 Arvind Sankar <nivedita@alum.mit.edu> efi/printf: Factor out flags parsing and handle '%' earlier

Move flags parsing code out into a helper function.

The '%%' case can be handled up front: it is not allowed to have flags,
width etc.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200518190716.751506-9-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
3b835095 Mon May 18 14:07:00 CDT 2020 Arvind Sankar <nivedita@alum.mit.edu> efi/printf: Factor out flags parsing and handle '%' earlier

Move flags parsing code out into a helper function.

The '%%' case can be handled up front: it is not allowed to have flags,
width etc.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200518190716.751506-9-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>