commit | 3b8350959cba0df4070741618e50c367319793bb | [log] [tgz] |
---|---|---|
author | Arvind Sankar <nivedita@alum.mit.edu> | Mon May 18 15:07:00 2020 -0400 |
committer | Ard Biesheuvel <ardb@kernel.org> | Tue May 19 10:31:25 2020 +0200 |
tree | 20848673ffad3046d8369a5edf11ab0ff742ec16 | |
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>