[PATCH] Staging: media: solo6x10: v4l2-enc: Fixed C99 comment

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

 



Fixed do not use C99 // comments.

Signed-off-by: Alice Ferrazzi <alice.ferrazzi@xxxxxxxxx>
---
 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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux