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

Cong Wang amwang at redhat.com
Tue Aug 9 20:31:58 PDT 2011


于 2011年08月09日 21:32, Alex Deucher 写道:
> On Mon, Aug 8, 2011 at 3:22 AM, Amerigo Wang<amwang at redhat.com>  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.


More information about the dri-devel mailing list