Skip to content
Commit b398ace5 authored by Marco Elver's avatar Marco Elver Committed by Will Deacon
Browse files

compiler_types.h: Use unoptimized __unqual_scalar_typeof for sparse



If the file is being checked with sparse, use the unoptimized version of
__unqual_scalar_typeof(), since sparse does not support _Generic.

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarMarco Elver <elver@google.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/202005280727.lXn1VnTw%lkp@intel.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 1fd76043
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment