diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-12-19 10:55:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-12-23 11:18:35 -0800 |
commit | 614d13462daef9bf6ac735744b5835a18cbfd19c (patch) | |
tree | 655ba6e092ccc9a6b5b09f18010d56979e2516fc /lib/xarray.c | |
parent | 312f48b2e27f0f8ede4260e024352fdad225d1c5 (diff) |
vsprintf: deal with format specifiers with a lookup table
We did the flags as an array earlier, they had simpler rules. The final
format specifiers are a bit more complex since they have more fields to
deal with, and we want to handle the length modifiers at the same time.
But like the flags, we're better off just making it a data-driven table
rather than some case statement.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions