[PATCH] media: uapi: vsp1: Use __u32 instead of u32

Subsystems: the rest

STALE4132d

2 messages, 2 authors, 2015-05-18 · open the first message on its own page

[PATCH] media: uapi: vsp1: Use __u32 instead of u32

From: Joe Perches <joe@perches.com>
Date: 2015-05-16 18:11:44

Don't use the kernel types in uapi headers.

Signed-off-by: Joe Perches <joe@perches.com>
---
 include/uapi/linux/vsp1.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/vsp1.h b/include/uapi/linux/vsp1.h
index e18858f..9a82369 100644
--- a/include/uapi/linux/vsp1.h
+++ b/include/uapi/linux/vsp1.h
@@ -28,7 +28,7 @@
 	_IOWR('V', BASE_VIDIOC_PRIVATE + 1, struct vsp1_lut_config)
 
 struct vsp1_lut_config {
-	u32 lut[256];
+	__u32 lut[256];
 };
 
 #endif	/* __VSP1_USER_H__ */

Re: [PATCH] media: uapi: vsp1: Use __u32 instead of u32

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2015-05-18 10:30:15

Hi Joe,

Thank you for the patch.

On Saturday 16 May 2015 11:11:40 Joe Perches wrote:
Don't use the kernel types in uapi headers.

Signed-off-by: Joe Perches <redacted>
Acked-by: Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>

and applied to my tree.
quoted hunk
---
 include/uapi/linux/vsp1.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/vsp1.h b/include/uapi/linux/vsp1.h
index e18858f..9a82369 100644
--- a/include/uapi/linux/vsp1.h
+++ b/include/uapi/linux/vsp1.h
@@ -28,7 +28,7 @@
 	_IOWR('V', BASE_VIDIOC_PRIVATE + 1, struct vsp1_lut_config)

 struct vsp1_lut_config {
-	u32 lut[256];
+	__u32 lut[256];
 };

 #endif	/* __VSP1_USER_H__ */
-- 
Regards,

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help