Re: [PATCH] drm: add missing header file <linuc/types.h>

From: Cong Wang
Date: Tue Aug 09 2011 - 23:32:12 EST


ä 2011å08æ09æ 21:32, Alex Deucher åé:
On Mon, Aug 8, 2011 at 3:22 AM, Amerigo Wang<amwang@xxxxxxxxxx> wrote:
This patch fixes the following 'make headers_check' errors:

linux-2.6/usr/include/drm/drm_mode.h:85: found __[us]{8,16,32,64} type without #include<linux/types.h>
linux-2.6/usr/include/drm/i915_drm.h:120: found __[us]{8,16,32,64} type without #include<linux/types.h>
linux-2.6/usr/include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #include<linux/types.h>
linux-2.6/usr/include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without #include<linux/types.h>
linux-2.6/usr/include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #include<linux/types.h>


These files are shared with BSD, and they get the linux/types.h from drm.h.


Thanks, then these warnings should be bogus.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/