Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[PATCH] drm/exynos: Include missing linux/types.h in header

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


emilgoode at gmail

May 10, 2012, 7:53 AM

Post #1 of 3 (31 views)
Permalink
[PATCH] drm/exynos: Include missing linux/types.h in header

Include the linux/types.h file where used types are declared.

Sparse gives the following warning:
/usr/include/drm/exynos_drm.h:92:
found __[us]{8,16,32,64} type without
#include <linux/types.h>

Signed-off-by: Emil Goode <emilgoode [at] gmail>
---
include/drm/exynos_drm.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
index e478de4..7eb7ae7 100644
--- a/include/drm/exynos_drm.h
+++ b/include/drm/exynos_drm.h
@@ -29,6 +29,8 @@
#ifndef _EXYNOS_DRM_H_
#define _EXYNOS_DRM_H_

+#include <linux/types.h>
+
/**
* User-desired buffer creation information structure.
*
--
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


daeinki at gmail

May 13, 2012, 7:24 PM

Post #2 of 3 (26 views)
Permalink
Re: [PATCH] drm/exynos: Include missing linux/types.h in header [In reply to]

2012/5/10 Emil Goode <emilgoode [at] gmail>:
> Include the linux/types.h file where used types are declared.
>
> Sparse gives the following warning:
> /usr/include/drm/exynos_drm.h:92:
>        found __[us]{8,16,32,64} type without
>        #include <linux/types.h>
>
> Signed-off-by: Emil Goode <emilgoode [at] gmail>
> ---
>  include/drm/exynos_drm.h |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
> index e478de4..7eb7ae7 100644
> --- a/include/drm/exynos_drm.h
> +++ b/include/drm/exynos_drm.h
> @@ -29,6 +29,8 @@
>  #ifndef _EXYNOS_DRM_H_
>  #define _EXYNOS_DRM_H_
>
> +#include <linux/types.h>
> +

applied.

Thanks,
Inki Dae

>  /**
>  * User-desired buffer creation information structure.
>  *
> --
> 1.7.10
>
> _______________________________________________
> dri-devel mailing list
> dri-devel [at] lists
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


daeinki at gmail

Jun 4, 2012, 8:52 AM

Post #3 of 3 (23 views)
Permalink
Re: [PATCH] drm/exynos: Include missing linux/types.h in header [In reply to]

Hi Emil,

we included "drm.h" with g2d driver patch instead of "<linux/types.h>
so your patch will be removed from exynos-drm-fixes. sorry for
confusing.

for this, you can refer to below link.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blobdiff;f=include/drm/exynos_drm.h;h=b6d7ce92eadd67a67db12b19bb0d39208b870511;hp=44f79cf468d4b7baff2e5f728667475ab96f7f1e;hb=d7f1642c90ab5eb2d7c48af0581c993094f97e1a;hpb=8dcb96b628a0749184bbcc5e6c94463f89405c58

Thanks,
Inki Dae

2012/5/14 InKi Dae <daeinki [at] gmail>:
> 2012/5/10 Emil Goode <emilgoode [at] gmail>:
>> Include the linux/types.h file where used types are declared.
>>
>> Sparse gives the following warning:
>> /usr/include/drm/exynos_drm.h:92:
>>        found __[us]{8,16,32,64} type without
>>        #include <linux/types.h>
>>
>> Signed-off-by: Emil Goode <emilgoode [at] gmail>
>> ---
>>  include/drm/exynos_drm.h |    2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h
>> index e478de4..7eb7ae7 100644
>> --- a/include/drm/exynos_drm.h
>> +++ b/include/drm/exynos_drm.h
>> @@ -29,6 +29,8 @@
>>  #ifndef _EXYNOS_DRM_H_
>>  #define _EXYNOS_DRM_H_
>>
>> +#include <linux/types.h>
>> +
>
> applied.
>
> Thanks,
> Inki Dae
>
>>  /**
>>  * User-desired buffer creation information structure.
>>  *
>> --
>> 1.7.10
>>
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel [at] lists
>> http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.