diff options
author | Arvind Sankar <nivedita@alum.mit.edu> | 2020-05-18 15:07:00 -0400 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-19 10:31:25 +0200 |
commit | 3b8350959cba0df4070741618e50c367319793bb (patch) | |
tree | 20848673ffad3046d8369a5edf11ab0ff742ec16 /lib/mpi/mpiutil.c | |
parent | ce5e3f909fc0ed67e58367b9c56a54c20a51080b (diff) |
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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions