linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: zhengyongjun <zhengyongjun3@huawei.com>
To: "clabbe@baylibre.com" <clabbe@baylibre.com>,
	"mchehab@kernel.org" <mchehab@kernel.org>,
	"mjpeg-users@lists.sourceforge.net" 
	<mjpeg-users@lists.sourceforge.net>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
Subject: 答复: [PATCH -next] media: zoran: use resource_size
Date: Wed, 6 Jan 2021 13:30:02 +0000	[thread overview]
Message-ID: <f6368bef56b54bdf94c2fdb1fa0752d1@huawei.com> (raw)
In-Reply-To: <20210106131702.32507-1-zhengyongjun3@huawei.com>

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@baylibre.com; mchehab@kernel.org; mjpeg-users@lists.sourceforge.net; linux-media@vger.kernel.org; devel@driverdev.osuosl.org; linux-kernel@vger.kernel.org
抄送: gregkh@linuxfoundation.org; zhengyongjun <zhengyongjun3@huawei.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@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


  reply	other threads:[~2021-01-06 13:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 13:17 Zheng Yongjun
2021-01-06 13:30 ` zhengyongjun [this message]
2021-01-06 14:51 ` Dan Carpenter
2021-01-06 20:19   ` LABBE Corentin
2021-01-07 10:45     ` Dan Carpenter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f6368bef56b54bdf94c2fdb1fa0752d1@huawei.com \
    --to=zhengyongjun3@huawei.com \
    --cc=clabbe@baylibre.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=mjpeg-users@lists.sourceforge.net \
    --subject='Re: 答复: [PATCH -next] media: zoran: use resource_size' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).