FAILED: patch "[PATCH] [media] v4l2: added missing mutex.h include to v4l2-ctrls.h" failed to apply to 3.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch below does not apply to the 3.11-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable@xxxxxxxxxxxxxxx>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

>From a19dec6ea94c036af68c31930c1c92681f55af41 Mon Sep 17 00:00:00 2001
From: Andrzej Hajda <a.hajda@xxxxxxxxxxx>
Date: Fri, 28 Jun 2013 05:44:22 -0300
Subject: [PATCH] [media] v4l2: added missing mutex.h include to v4l2-ctrls.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch fixes following error:
include/media/v4l2-ctrls.h:193:15: error: field â??_lockâ?? has incomplete type
include/media/v4l2-ctrls.h: In function â??v4l2_ctrl_lockâ??:
include/media/v4l2-ctrls.h:570:2: error: implicit declaration of
	function â??mutex_lockâ?? [-Werror=implicit-function-declaration]
include/media/v4l2-ctrls.h: In function â??v4l2_ctrl_unlockâ??:
include/media/v4l2-ctrls.h:579:2: error: implicit declaration of
	function â??mutex_unlockâ?? [-Werror=implicit-function-declaration]

Signed-off-by: Andrzej Hajda <a.hajda@xxxxxxxxxxx>
Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx

diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
index 7343a27f..47ada233 100644
--- a/include/media/v4l2-ctrls.h
+++ b/include/media/v4l2-ctrls.h
@@ -22,6 +22,7 @@
 #define _V4L2_CTRLS_H
 
 #include <linux/list.h>
+#include <linux/mutex.h>
 #include <linux/videodev2.h>
 
 /* forward references */

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]