lkml.org 
[lkml]   [2013]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Staging: media: solo6x10: v4l2-enc: Fixed C99 comment
Date
Fixed do not use C99 // comments.

Signed-off-by: Alice Ferrazzi <alice.ferrazzi@gmail.com>
---
drivers/staging/media/solo6x10/v4l2-enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/solo6x10/v4l2-enc.c b/drivers/staging/media/solo6x10/v4l2-enc.c
index 4977e86..8f4ec1b 100644
--- a/drivers/staging/media/solo6x10/v4l2-enc.c
+++ b/drivers/staging/media/solo6x10/v4l2-enc.c
@@ -466,7 +466,7 @@ static void write_bytes(u8 **out, unsigned *bits, const u8 *src, unsigned count)
static void write_bits(u8 **out, unsigned *bits, u32 value, unsigned count)
{

- value <<= 32 - count; // shift to the right
+ value <<= 32 - count; /* shift to the right */

while (count--) {
**out <<= 1;
--
1.7.10.4


\
 
 \ /
  Last update: 2013-03-20 16:01    [W:0.024 / U:1.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site