From: Randy Dunlap Subject: Re: [PATCH] DRM: fix headers_check warnings Date: Mon, 1 Mar 2010 13:40:24 -0800 Message-ID: <20100301134024.829ef2ad.randy.dunlap@oracle.com> References: <1267262856.26906.12.camel@i7.satnam> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1267262856.26906.12.camel@i7.satnam> Sender: linux-kernel-owner@vger.kernel.org To: Jaswinder Singh Rajput Cc: Kristian =?ISO-8859-1?Q?H=F8gsberg?= , Arnd Bergmann , Dave Airlie , dri-devel@lists.sourceforge.net, David Airlie , LKML List-Id: dri-devel@lists.freedesktop.org On Sat, 27 Feb 2010 14:57:36 +0530 Jaswinder Singh Rajput wrote: >=20 > Fixed following headers_check warnings: > CHECK include/drm (14 files) > include/drm/drm_mode.h:84: found __[us]{8,16,32,64} type without #in= clude > include/drm/i915_drm.h:119: found __[us]{8,16,32,64} type without #i= nclude > include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #in= clude > include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without = #include > include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #in= clude >=20 > Signed-off-by: Jaswinder Singh Rajput > Cc: Kristian H=F8gsberg > Cc: Arnd Bergmann > Cc: Dave Airlie Acked-by: Randy Dunlap Thanks much. > --- > include/drm/drm_mode.h | 2 ++ > include/drm/i915_drm.h | 1 + > include/drm/mga_drm.h | 1 + > include/drm/radeon_drm.h | 1 + > include/drm/via_drm.h | 1 + > 5 files changed, 6 insertions(+), 0 deletions(-) >=20 > diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h > index c5ba163..c5aa66d 100644 > --- a/include/drm/drm_mode.h > +++ b/include/drm/drm_mode.h > @@ -27,6 +27,8 @@ > #ifndef _DRM_MODE_H > #define _DRM_MODE_H > =20 > +#include > + > #define DRM_DISPLAY_INFO_LEN 32 > #define DRM_CONNECTOR_NAME_LEN 32 > #define DRM_DISPLAY_MODE_LEN 32 > diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h > index b64a8d7..5cf7f5b 100644 > --- a/include/drm/i915_drm.h > +++ b/include/drm/i915_drm.h > @@ -27,6 +27,7 @@ > #ifndef _I915_DRM_H_ > #define _I915_DRM_H_ > =20 > +#include > #include "drm.h" > =20 > /* Please note that modifications to all structs defined here are > diff --git a/include/drm/mga_drm.h b/include/drm/mga_drm.h > index 3ffbc47..ae23df9 100644 > --- a/include/drm/mga_drm.h > +++ b/include/drm/mga_drm.h > @@ -35,6 +35,7 @@ > #ifndef __MGA_DRM_H__ > #define __MGA_DRM_H__ > =20 > +#include > #include "drm.h" > =20 > /* WARNING: If you change any of these defines, make sure to change = the > diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h > index 39537f3..459ff45 100644 > --- a/include/drm/radeon_drm.h > +++ b/include/drm/radeon_drm.h > @@ -33,6 +33,7 @@ > #ifndef __RADEON_DRM_H__ > #define __RADEON_DRM_H__ > =20 > +#include > #include "drm.h" > =20 > /* WARNING: If you change any of these defines, make sure to change = the > diff --git a/include/drm/via_drm.h b/include/drm/via_drm.h > index fd11a5b..23880b0 100644 > --- a/include/drm/via_drm.h > +++ b/include/drm/via_drm.h > @@ -24,6 +24,7 @@ > #ifndef _VIA_DRM_H_ > #define _VIA_DRM_H_ > =20 > +#include > #include "drm.h" > =20 > /* WARNING: These defines must be the same as what the Xserver uses. > --=20 --- ~Randy