public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: ashmem - missing linux/types.h in header.
@ 2015-01-22  9:24 Gabriel Laskar
  2015-01-22 11:35 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Laskar @ 2015-01-22  9:24 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Colin Cross, John Stultz,
	open list:STAGING SUBSYSTEM, open list

struct ashmem_pin uses __u32 types that are defined in linux/types.h.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
---
 drivers/staging/android/uapi/ashmem.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/android/uapi/ashmem.h b/drivers/staging/android/uapi/ashmem.h
index ba4743c..13df42d 100644
--- a/drivers/staging/android/uapi/ashmem.h
+++ b/drivers/staging/android/uapi/ashmem.h
@@ -13,6 +13,7 @@
 #define _UAPI_LINUX_ASHMEM_H
 
 #include <linux/ioctl.h>
+#include <linux/types.h>
 
 #define ASHMEM_NAME_LEN		256
 
-- 
2.2.2


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

* Re: [PATCH] staging: ashmem - missing linux/types.h in header.
  2015-01-22  9:24 [PATCH] staging: ashmem - missing linux/types.h in header Gabriel Laskar
@ 2015-01-22 11:35 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2015-01-22 11:35 UTC (permalink / raw)
  To: Gabriel Laskar
  Cc: Colin Cross, John Stultz, open list:STAGING SUBSYSTEM, open list

On Thu, Jan 22, 2015 at 10:24:49AM +0100, Gabriel Laskar wrote:
> struct ashmem_pin uses __u32 types that are defined in linux/types.h.
> 
> Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
> ---
>  drivers/staging/android/uapi/ashmem.h | 1 +
>  1 file changed, 1 insertion(+)

What is broken without this change?  Is something failing to build?

thanks,

greg k-h

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

end of thread, other threads:[~2015-01-22 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-22  9:24 [PATCH] staging: ashmem - missing linux/types.h in header Gabriel Laskar
2015-01-22 11:35 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox