kernel: handle __ftrace_bad_type()
commit059b74e1d200ab6f18e052eb83bfdfbb3b65c7ad
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Mar 2013 17:57:11 +0000 (12 20:57 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Mar 2013 17:57:11 +0000 (12 20:57 +0300)
treed598b77a08b295645dad1de77a92219d60177fe0
parent1f7044fe5a158b38581592706c28bb49442f881c
kernel: handle __ftrace_bad_type()

There isn't actually an __ftrace_bad_type().  GCC can tell at compile
time that it's not used so it doesn't try to link it.  If it were to try
to link then the build would fail.

Treat it like a no return function to discard the states on that path.

This fixes a bunch of false positives.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_kernel.c