compiler_types.h: Use unoptimized __unqual_scalar_typeof for sparse
authorMarco Elver <elver@google.com>
Thu, 28 May 2020 07:43:13 +0000 (09:43 +0200)
committerWill Deacon <will@kernel.org>
Fri, 5 Jun 2020 10:40:01 +0000 (11:40 +0100)
commitb398ace5d2ea0b7f00d9f1ce23c647e289c206ca
tree01e906e9b6af66e21bfcbc61b5d1c1f7a43c3ed8
parent1fd76043ecb04b8567a76b106db09ac778e1e2b8
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: kbuild test robot <lkp@intel.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/202005280727.lXn1VnTw%lkp@intel.com
Signed-off-by: Will Deacon <will@kernel.org>
include/linux/compiler_types.h