This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: v4l2-tpg-core.c: add space after %
Author:  Hans Verkuil <hverk...@xs4all.nl>
Date:    Sun Mar 25 17:40:30 2018 -0400

I know, it's a measly space, but I can't stand it since the
V4L2_PIX_FMT_NV24 case before this case does it right.

So add the space in order to restore blessed symmetry and
consistency and to make the world whole again...

Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c 
b/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
index 37632bc524d4..9b64f4f354bf 100644
--- a/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
+++ b/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
@@ -1149,7 +1149,7 @@ static void gen_twopix(struct tpg_data *tpg,
        case V4L2_PIX_FMT_NV42:
                buf[0][offset] = r_y_h;
                buf[1][2 * offset] = b_v;
-               buf[1][(2 * offset + 1) %8] = g_u_s;
+               buf[1][(2 * offset + 1) % 8] = g_u_s;
                break;
 
        case V4L2_PIX_FMT_YUYV:

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to