check_kernel_printf.c: use get_real_base_type in typedef_lookup
commitc3f6229ce695abf2bb1bd13bab29db87f14dfc51
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Wed, 25 Oct 2017 19:25:11 +0000 (25 21:25 +0200)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Oct 2017 08:18:27 +0000 (26 11:18 +0300)
treee8c63a2f4180f6309d7a7ee3ccdb7977149abefa
parentdf5ebbe31537b294ab8e50e1615fd3f4d4a5867e
check_kernel_printf.c: use get_real_base_type in typedef_lookup

Since gfp_t is a typedef to a __bitwise type, the type we currently
return is not the same as the basetype we compare to in flagstring()
(namely uint), giving confusing false positives.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_kernel_printf.c