From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag
Date: Fri, 11 Sep 2020 20:39:49 +0800 [thread overview]
Message-ID: <202009112032.CAn7P2He%lkp@intel.com> (raw)
In-Reply-To: <20200911030758.73745-1-sergey.senozhatsky@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4365 bytes --]
Hi Sergey,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v5.9-rc4 next-20200911]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Sergey-Senozhatsky/media-v4l2-remove-V4L2-FLAG-MEMORY-NON-CONSISTENT-flag/20200911-110822
base: git://linuxtv.org/media_tree.git master
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/media/dvb-core/dvb_vb2.c: In function 'dvb_vb2_reqbufs':
>> drivers/media/dvb-core/dvb_vb2.c:345:8: error: too many arguments to function 'vb2_core_reqbufs'
345 | ret = vb2_core_reqbufs(&ctx->vb_q, VB2_MEMORY_MMAP, 0, &req->count);
| ^~~~~~~~~~~~~~~~
In file included from include/media/dvb_vb2.h:21,
from drivers/media/dvb-core/dvb_vb2.c:20:
include/media/videobuf2-core.h:770:5: note: declared here
770 | int vb2_core_reqbufs(struct vb2_queue *q, enum vb2_memory memory,
| ^~~~~~~~~~~~~~~~
# https://github.com/0day-ci/linux/commit/ef3d23bb3087aac00acdc21e175566608466f139
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Sergey-Senozhatsky/media-v4l2-remove-V4L2-FLAG-MEMORY-NON-CONSISTENT-flag/20200911-110822
git checkout ef3d23bb3087aac00acdc21e175566608466f139
vim +/vb2_core_reqbufs +345 drivers/media/dvb-core/dvb_vb2.c
57868acc369ab73 Satendra Singh Thakur 2017-12-18 332
57868acc369ab73 Satendra Singh Thakur 2017-12-18 333 int dvb_vb2_reqbufs(struct dvb_vb2_ctx *ctx, struct dmx_requestbuffers *req)
57868acc369ab73 Satendra Singh Thakur 2017-12-18 334 {
57868acc369ab73 Satendra Singh Thakur 2017-12-18 335 int ret;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 336
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 337 /* Adjust size to a sane value */
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 338 if (req->size > DVB_V2_MAX_SIZE)
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 339 req->size = DVB_V2_MAX_SIZE;
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 340
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 341 /* FIXME: round req->size to a 188 or 204 multiple */
2c06aa7c31cfad2 Mauro Carvalho Chehab 2017-12-28 342
57868acc369ab73 Satendra Singh Thakur 2017-12-18 343 ctx->buf_siz = req->size;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 344 ctx->buf_cnt = req->count;
7b4b45555c79db0 Sergey Senozhatsky 2020-05-14 @345 ret = vb2_core_reqbufs(&ctx->vb_q, VB2_MEMORY_MMAP, 0, &req->count);
57868acc369ab73 Satendra Singh Thakur 2017-12-18 346 if (ret) {
57868acc369ab73 Satendra Singh Thakur 2017-12-18 347 ctx->state = DVB_VB2_STATE_NONE;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 348 dprintk(1, "[%s] count=%d size=%d errno=%d\n", ctx->name,
57868acc369ab73 Satendra Singh Thakur 2017-12-18 349 ctx->buf_cnt, ctx->buf_siz, ret);
57868acc369ab73 Satendra Singh Thakur 2017-12-18 350 return ret;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 351 }
57868acc369ab73 Satendra Singh Thakur 2017-12-18 352 ctx->state |= DVB_VB2_STATE_REQBUFS;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 353 dprintk(3, "[%s] count=%d size=%d\n", ctx->name,
57868acc369ab73 Satendra Singh Thakur 2017-12-18 354 ctx->buf_cnt, ctx->buf_siz);
57868acc369ab73 Satendra Singh Thakur 2017-12-18 355
57868acc369ab73 Satendra Singh Thakur 2017-12-18 356 return 0;
57868acc369ab73 Satendra Singh Thakur 2017-12-18 357 }
57868acc369ab73 Satendra Singh Thakur 2017-12-18 358
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 52700 bytes --]
next prev parent reply other threads:[~2020-09-11 12:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 3:07 [PATCH] media/v4l2: remove V4L2-FLAG-MEMORY-NON-CONSISTENT flag Sergey Senozhatsky
2020-09-11 10:09 ` Christoph Hellwig
2020-09-11 10:37 ` Hans Verkuil
2020-09-11 14:15 ` Sergey Senozhatsky
2020-09-11 12:39 ` kernel test robot [this message]
2020-09-11 22:11 ` kernel test robot
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=202009112032.CAn7P2He%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.