All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] DRM: fix headers_check warnings
@ 2010-02-27  9:27 ` Jaswinder Singh Rajput
  0 siblings, 0 replies; 5+ messages in thread
From: Jaswinder Singh Rajput @ 2010-02-27  9:27 UTC (permalink / raw)
  To: Kristian Høgsberg, Arnd Bergmann, Dave Airlie, dri-devel,
	David Airlie, LKML


Fixed following headers_check warnings:
  CHECK   include/drm (14 files)
 include/drm/drm_mode.h:84: found __[us]{8,16,32,64} type without #include <linux/types.h>
 include/drm/i915_drm.h:119: found __[us]{8,16,32,64} type without #include <linux/types.h>
 include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #include <linux/types.h>
 include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without #include <linux/types.h>
 include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Kristian Høgsberg <krh@bitplanet.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dave Airlie <airlied@redhat.com>
---
 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(-)

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
 
+#include <linux/types.h>
+
 #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_
 
+#include <linux/types.h>
 #include "drm.h"
 
 /* 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__
 
+#include <linux/types.h>
 #include "drm.h"
 
 /* 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__
 
+#include <linux/types.h>
 #include "drm.h"
 
 /* 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_
 
+#include <linux/types.h>
 #include "drm.h"
 
 /* WARNING: These defines must be the same as what the Xserver uses.
-- 
1.6.6



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] DRM: fix headers_check warnings
@ 2010-02-27  9:27 ` Jaswinder Singh Rajput
  0 siblings, 0 replies; 5+ messages in thread
From: Jaswinder Singh Rajput @ 2010-02-27  9:27 UTC (permalink / raw)
  To: Kristian Høgsberg, Arnd Bergmann, Dave Airlie, dri-devel,
	David Airlie


Fixed following headers_check warnings:
  CHECK   include/drm (14 files)
 include/drm/drm_mode.h:84: found __[us]{8,16,32,64} type without #include <linux/types.h>
 include/drm/i915_drm.h:119: found __[us]{8,16,32,64} type without #include <linux/types.h>
 include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #include <linux/types.h>
 include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without #include <linux/types.h>
 include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Kristian Høgsberg <krh@bitplanet.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Dave Airlie <airlied@redhat.com>
---
 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(-)

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
 
+#include <linux/types.h>
+
 #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_
 
+#include <linux/types.h>
 #include "drm.h"
 
 /* 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__
 
+#include <linux/types.h>
 #include "drm.h"
 
 /* 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__
 
+#include <linux/types.h>
 #include "drm.h"
 
 /* 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_
 
+#include <linux/types.h>
 #include "drm.h"
 
 /* WARNING: These defines must be the same as what the Xserver uses.
-- 
1.6.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] DRM: fix headers_check warnings
  2010-02-27  9:27 ` Jaswinder Singh Rajput
  (?)
@ 2010-03-01 21:40 ` Randy Dunlap
  -1 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2010-03-01 21:40 UTC (permalink / raw)
  To: Jaswinder Singh Rajput
  Cc: Kristian Høgsberg, Arnd Bergmann, Dave Airlie, dri-devel,
	David Airlie, LKML

On Sat, 27 Feb 2010 14:57:36 +0530 Jaswinder Singh Rajput wrote:

> 
> Fixed following headers_check warnings:
>   CHECK   include/drm (14 files)
>  include/drm/drm_mode.h:84: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/i915_drm.h:119: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #include <linux/types.h>
> 
> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
> Cc: Kristian Høgsberg <krh@bitplanet.net>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Dave Airlie <airlied@redhat.com>

Acked-by: Randy Dunlap <randy.dunlap@oracle.com>

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(-)
> 
> 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
>  
> +#include <linux/types.h>
> +
>  #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_
>  
> +#include <linux/types.h>
>  #include "drm.h"
>  
>  /* 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__
>  
> +#include <linux/types.h>
>  #include "drm.h"
>  
>  /* 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__
>  
> +#include <linux/types.h>
>  #include "drm.h"
>  
>  /* 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_
>  
> +#include <linux/types.h>
>  #include "drm.h"
>  
>  /* WARNING: These defines must be the same as what the Xserver uses.
> -- 


---
~Randy

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] DRM: fix headers_check warnings
  2010-02-27  9:27 ` Jaswinder Singh Rajput
@ 2010-03-02  9:52   ` Julien Cristau
  -1 siblings, 0 replies; 5+ messages in thread
From: Julien Cristau @ 2010-03-02  9:52 UTC (permalink / raw)
  To: Jaswinder Singh Rajput
  Cc: Kristian Høgsberg, Arnd Bergmann, Dave Airlie, dri-devel,
	David Airlie, LKML

On Sat, Feb 27, 2010 at 14:57:36 +0530, Jaswinder Singh Rajput wrote:

> 
> Fixed following headers_check warnings:
>   CHECK   include/drm (14 files)
>  include/drm/drm_mode.h:84: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/i915_drm.h:119: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #include <linux/types.h>
> 
These files are shared with BSD, afaik, and they get the linux/types.h
include from drm.h.

Cheers,
Julien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] DRM: fix headers_check warnings
@ 2010-03-02  9:52   ` Julien Cristau
  0 siblings, 0 replies; 5+ messages in thread
From: Julien Cristau @ 2010-03-02  9:52 UTC (permalink / raw)
  To: Jaswinder Singh Rajput
  Cc: Kristian Høgsberg, Arnd Bergmann, David Airlie, LKML,
	Dave Airlie, dri-devel

On Sat, Feb 27, 2010 at 14:57:36 +0530, Jaswinder Singh Rajput wrote:

> 
> Fixed following headers_check warnings:
>   CHECK   include/drm (14 files)
>  include/drm/drm_mode.h:84: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/i915_drm.h:119: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without #include <linux/types.h>
>  include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #include <linux/types.h>
> 
These files are shared with BSD, afaik, and they get the linux/types.h
include from drm.h.

Cheers,
Julien

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-02 10:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-27  9:27 [PATCH] DRM: fix headers_check warnings Jaswinder Singh Rajput
2010-02-27  9:27 ` Jaswinder Singh Rajput
2010-03-01 21:40 ` Randy Dunlap
2010-03-02  9:52 ` Julien Cristau
2010-03-02  9:52   ` Julien Cristau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.