]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vsprintf.c: Reduce sizeof struct printf_spec from 24 to 8 bytes
authorJoe Perches <joe@perches.com>
Sun, 7 Mar 2010 01:10:14 +0000 (17:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 7 Mar 2010 01:47:45 +0000 (17:47 -0800)
commitef0658f3de484bf9b173639cd47544584e01efa5
treed9d6c569b2c79fb9cf240783a409722cc9264886
parent7bc80cd935a4d5fd8574f6994bd95d0aad273d56
vsprintf.c: Reduce sizeof struct printf_spec from 24 to 8 bytes

Reducing the size of struct printf_spec is a good thing because multiple
instances are commonly passed on stack.

It's possible for type to be u8 and field_width to be s8, but this is
likely small enough for now.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/vsprintf.c