Message ID | 20210108092119.18642-1-zhengyongjun3@huawei.com |
---|---|
State | Accepted |
Commit | 480fad61d301f094976394c38d7d89ce324711bb |
Headers | show |
Series | [v2,-next] media: zoran: convert comma to semicolon | expand |
Le Fri, Jan 08, 2021 at 05:21:19PM +0800, Zheng Yongjun a écrit : > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> > --- > drivers/staging/media/zoran/zoran_driver.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/media/zoran/zoran_driver.c b/drivers/staging/media/zoran/zoran_driver.c > index 808196ea5b81..d60b4c73ea80 100644 > --- a/drivers/staging/media/zoran/zoran_driver.c > +++ b/drivers/staging/media/zoran/zoran_driver.c > @@ -1020,7 +1020,7 @@ int zoran_queue_init(struct zoran *zr, struct vb2_queue *vq) > vq->buf_struct_size = sizeof(struct zr_buffer); > vq->ops = &zr_video_qops; > vq->mem_ops = &vb2_dma_contig_memops; > - vq->gfp_flags = GFP_DMA32, > + vq->gfp_flags = GFP_DMA32; > vq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; > vq->min_buffers_needed = 9; > vq->lock = &zr->lock; > -- > 2.22.0 > Acked-by: Corentin Labbe <clabbe@baylibre.com> Thanks!
diff --git a/drivers/staging/media/zoran/zoran_driver.c b/drivers/staging/media/zoran/zoran_driver.c index 808196ea5b81..d60b4c73ea80 100644 --- a/drivers/staging/media/zoran/zoran_driver.c +++ b/drivers/staging/media/zoran/zoran_driver.c @@ -1020,7 +1020,7 @@ int zoran_queue_init(struct zoran *zr, struct vb2_queue *vq) vq->buf_struct_size = sizeof(struct zr_buffer); vq->ops = &zr_video_qops; vq->mem_ops = &vb2_dma_contig_memops; - vq->gfp_flags = GFP_DMA32, + vq->gfp_flags = GFP_DMA32; vq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; vq->min_buffers_needed = 9; vq->lock = &zr->lock;
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> --- drivers/staging/media/zoran/zoran_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)