Skip to contentSkip to conversation

media: uapi: vsp1: Use __u32 instead of u32

PATCH In review Joe Perches 2 participants 2 messages May 16, 2015 – May 18, 2015 ABI/API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: uapi: vsp1: Use __u32 instead of u32

Don't use the kernel types in uapi headers.

---
 include/uapi/linux/vsp1.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/vsp1.h +1 -1
index e18858f..9a82369 100644
@@ -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__ */
Acked-by on v1 1/1
#1 lore raw

Hi Joe,

Thank you for the patch.

Quoted 3 lines · On Saturday 16 May 2015 11:11:40 Joe Perches wrote:

Don't use the kernel types in uapi headers.

and applied to my tree.

Quoted 17 lines
---
 include/uapi/linux/vsp1.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/vsp1.h +1 -1
index e18858f..9a82369 100644
@@ -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__ */
Signature · 3 lines
Regards,

Laurent Pinchart