lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f6368bef56b54bdf94c2fdb1fa0752d1@huawei.com>
Date:   Wed, 6 Jan 2021 13:30:02 +0000
From:   zhengyongjun <zhengyongjun3@...wei.com>
To:     "clabbe@...libre.com" <clabbe@...libre.com>,
        "mchehab@...nel.org" <mchehab@...nel.org>,
        "mjpeg-users@...ts.sourceforge.net" 
        <mjpeg-users@...ts.sourceforge.net>,
        "linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
        "devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:     "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: 答复: [PATCH -next] media: zoran: use resource_size

Sorry, this is my fault, all this media related patch commit msg is wrong, I will send patch v2, please ignore it.

-----邮件原件-----
发件人: zhengyongjun 
发送时间: 2021年1月6日 21:17
收件人: clabbe@...libre.com; mchehab@...nel.org; mjpeg-users@...ts.sourceforge.net; linux-media@...r.kernel.org; devel@...verdev.osuosl.org; linux-kernel@...r.kernel.org
抄送: gregkh@...uxfoundation.org; zhengyongjun <zhengyongjun3@...wei.com>
主题: [PATCH -next] media: zoran: use resource_size

Use resource_size rather than a verbose computation on the end and start fields.

Signed-off-by: Zheng Yongjun <zhengyongjun3@...wei.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ