diff options
author | 2024-12-15 10:44:15 -0800 | |
---|---|---|
committer | 2024-12-23 11:18:35 -0800 | |
commit | be503db4d0f217bb1bb4b3e3639402d386378d1b (patch) | |
tree | e2bef50c1a8ed68447c003a3ae8bc1718bf46137 /scripts/lib/kdoc/kdoc_parser.py | |
parent | Linux 6.13-rc4 (diff) | |
download | linux-rng-be503db4d0f217bb1bb4b3e3639402d386378d1b.tar.xz linux-rng-be503db4d0f217bb1bb4b3e3639402d386378d1b.zip |
vsprintf: simplify number handling
Instead of dealing with all the different special types (size_t,
unsigned char, ptrdiff_t..) just deal with the size of the integer type
and the sign.
This avoids a lot of unnecessary case statements, and the games we play
with the value of the 'SIGN' flags value
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions