headers_check: recursively search for linux/types.h inclusion
authorBobby Powers <bobbypowers@gmail.com>
Mon, 5 Mar 2012 23:08:09 +0000 (15:08 -0800)
committerMichal Marek <mmarek@suse.cz>
Mon, 26 Mar 2012 12:54:27 +0000 (14:54 +0200)
commitf75a8df3bd6466e29a4e40b86b2cfc96fe06d328
treeb9972a299bac56b5483e4fe3ef76cad1630d3ff5
parent875de98623fa2b29f0cb19915fe3292ab6daa1cb
headers_check: recursively search for linux/types.h inclusion

headers_check.pl currently emits some spurious warnings, especially for
the drm headers, about using __[us]{8,16,32,64} types without including
linux/types.h.  Recursively search for types.h inclusion, avoiding
circular references.

Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/headers_check.pl