diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-10-26 16:03:56 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-10-27 15:13:47 +0200 |
commit | 24a1dffbecafeb00d8830985eb7a318e37aabc4e (patch) | |
tree | bca18b9e0ffa9bcbf157a4ce69cf79844beaf438 /tools/perf/util/env.h | |
parent | ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK (diff) | |
download | linux-24a1dffbecafeb00d8830985eb7a318e37aabc4e.tar.xz linux-24a1dffbecafeb00d8830985eb7a318e37aabc4e.zip |
lib/vsprintf.c: Amend static asserts for format specifier flags
There are couple of improvements to static asserts against
the format specifier flags:
- new static assert for SIGN
- fix static assert for SMALL
SMALL is not equal to ASCII code of white space, it equals to
the bit difference between capital and small letters (however
the value is the same, semantically expression means different
things).
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20211026140356.45610-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'tools/perf/util/env.h')
0 files changed, 0 insertions, 0 deletions