diff options
author | 2020-06-05 11:05:51 +0100 | |
---|---|---|
committer | 2020-06-05 11:05:51 +0100 | |
commit | 8d4beed7bbc71666de2630b79899c8852c3bf5cd (patch) | |
tree | 0896623792afb87c5e947bee4dc59f780513f550 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | READ_ONCE: Fix comment describing 2x32-bit atomicity (diff) | |
download | wireguard-linux-8d4beed7bbc71666de2630b79899c8852c3bf5cd.tar.xz wireguard-linux-8d4beed7bbc71666de2630b79899c8852c3bf5cd.zip |
compiler-types.h: Include naked type in __pick_integer_type() match
__pick_integer_type() checks whether the type of its first argument is
compatible with an explicitly signed or unsigned integer type, returning
the compatible type if it exists.
Unfortunately, 'char' is neither compatible with 'signed char' nor
'unsigned char', so add a check against the naked type to allow the
__unqual_scalar_typeof() macro to strip qualifiers from char types
without an explicit signedness.
Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions