V4L/DVB (8425): v4l: fix checkpatch errors introduced by recent commits

Previous thread: V4L/DVB (8423): cx18: remove firmware size check by Linux Kernel Mailing List on Monday, July 28, 2008 - 10:01 am. (1 message)

Next thread: V4L/DVB (8433): Fix macro name at z0194a.h by Linux Kernel Mailing List on Monday, July 28, 2008 - 10:01 am. (1 message)
From: Linux Kernel Mailing List
Date: Monday, July 28, 2008 - 10:01 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c60f2b...
Commit:     c60f2b5c1defb6b1345968e1c65c2008c221d57d
Parent:     82fc52a886aaff8a1605f9d16240e74ddac8570c
Author:     Guennadi Liakhovetski <g.liakhovetski@gmx.de>
AuthorDate: Thu Jul 17 17:30:47 2008 -0300
Committer:  Mauro Carvalho Chehab <mchehab@infradead.org>
CommitDate: Wed Jul 23 08:09:21 2008 -0300

    V4L/DVB (8425): v4l: fix checkpatch errors introduced by recent commits
    
    Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---
 drivers/media/video/sh_mobile_ceu_camera.c |    1 +
 drivers/media/video/videobuf-dma-contig.c  |    8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c
index 012005e..f7ca3cb 100644
--- a/drivers/media/video/sh_mobile_ceu_camera.c
+++ b/drivers/media/video/sh_mobile_ceu_camera.c
@@ -91,6 +91,7 @@ struct sh_mobile_ceu_dev {
 	void __iomem *base;
 	unsigned long video_limit;
 
+	/* lock used to protect videobuf */
 	spinlock_t lock;
 	struct list_head capture;
 	struct videobuf_buffer *active;
diff --git a/drivers/media/video/videobuf-dma-contig.c b/drivers/media/video/videobuf-dma-contig.c
index 03f20ac..31944b1 100644
--- a/drivers/media/video/videobuf-dma-contig.c
+++ b/drivers/media/video/videobuf-dma-contig.c
@@ -28,10 +28,10 @@ struct videobuf_dma_contig_memory {
 };
 
 #define MAGIC_DC_MEM 0x0733ac61
-#define MAGIC_CHECK(is, should)						\
-	if (unlikely((is) != (should)))	{				\
-		pr_err("magic mismatch: %x expected %x\n", is, should); \
-		BUG();							\
+#define MAGIC_CHECK(is, should)						    \
+	if (unlikely((is) != (should)))	{				    \
+		pr_err("magic mismatch: %x expected %x\n", (is), (should)); \
+		BUG();							    \
 	}
 
 static void
--

Previous thread: V4L/DVB (8423): cx18: remove firmware size check by Linux Kernel Mailing List on Monday, July 28, 2008 - 10:01 am. (1 message)

Next thread: V4L/DVB (8433): Fix macro name at z0194a.h by Linux Kernel Mailing List on Monday, July 28, 2008 - 10:01 am. (1 message)