From: kbuild test robot <lkp@intel.com> To: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: kbuild-all@lists.01.org, linux-media@vger.kernel.org, "Helen Koike" <helen.koike@collabora.com>, "Hans Verkuil" <hverkuil@xs4all.nl>, "Sakari Ailus" <sakari.ailus@linux.intel.com>, linux-renesas-soc@vger.kernel.org, "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se> Subject: Re: [PATCH v6 2/5] media: v4l2: Extend VIDIOC_ENUM_FMT to support MC-centric devices Date: Thu, 19 Mar 2020 11:52:24 +0800 [thread overview] Message-ID: <202003191148.Imnfr3wD%lkp@intel.com> (raw) In-Reply-To: <20200319004701.30416-3-laurent.pinchart@ideasonboard.com> [-- Attachment #1: Type: text/plain, Size: 7777 bytes --] Hi Laurent, I love your patch! Perhaps something to improve: [auto build test WARNING on v5.6-rc6] [also build test WARNING on next-20200318] [cannot apply to linuxtv-media/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Laurent-Pinchart/v4l2-dev-ioctl-Add-V4L2_CAP_IO_MC/20200319-084846 base: fb33c6510d5595144d585aa194d377cf74d31911 config: parisc-allyesconfig (attached as .config) compiler: hppa-linux-gcc (GCC) 9.2.0 reproduce: 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 GCC_VERSION=9.2.0 make.cross ARCH=parisc If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@intel.com> All warnings (new ones prefixed by >>): drivers/media//pci/cx18/cx18-ioctl.c: In function 'cx18_enum_fmt_vid_cap': >> drivers/media//pci/cx18/cx18-ioctl.c:470:5: warning: braces around scalar initializer 470 | "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } | ^~~~~~~~~~~~~~~~~~ drivers/media//pci/cx18/cx18-ioctl.c:470:5: note: (near initialization for 'formats[0].mbus_code') >> drivers/media//pci/cx18/cx18-ioctl.c:470:49: warning: excess elements in scalar initializer 470 | "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:470:49: note: (near initialization for 'formats[0].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:470:52: warning: excess elements in scalar initializer 470 | "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:470:52: note: (near initialization for 'formats[0].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:470:55: warning: excess elements in scalar initializer 470 | "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:470:55: note: (near initialization for 'formats[0].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:473:5: warning: braces around scalar initializer 473 | "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } | ^~~~~~ drivers/media//pci/cx18/cx18-ioctl.c:473:5: note: (near initialization for 'formats[1].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:473:37: warning: excess elements in scalar initializer 473 | "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:473:37: note: (near initialization for 'formats[1].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:473:40: warning: excess elements in scalar initializer 473 | "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:473:40: note: (near initialization for 'formats[1].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:473:43: warning: excess elements in scalar initializer 473 | "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:473:43: note: (near initialization for 'formats[1].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:476:5: warning: braces around scalar initializer 476 | "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } | ^~~~~~~~~~~~ drivers/media//pci/cx18/cx18-ioctl.c:476:5: note: (near initialization for 'formats[2].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:476:43: warning: excess elements in scalar initializer 476 | "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:476:43: note: (near initialization for 'formats[2].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:476:46: warning: excess elements in scalar initializer 476 | "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:476:46: note: (near initialization for 'formats[2].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:476:49: warning: excess elements in scalar initializer 476 | "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:476:49: note: (near initialization for 'formats[2].mbus_code') vim +470 drivers/media//pci/cx18/cx18-ioctl.c 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 464 3b6fe58f0f1888 drivers/media/video/cx18/cx18-ioctl.c Andy Walls 2008-06-21 465 static int cx18_enum_fmt_vid_cap(struct file *file, void *fh, 3b6fe58f0f1888 drivers/media/video/cx18/cx18-ioctl.c Andy Walls 2008-06-21 466 struct v4l2_fmtdesc *fmt) 3b6fe58f0f1888 drivers/media/video/cx18/cx18-ioctl.c Andy Walls 2008-06-21 467 { 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 468 static const struct v4l2_fmtdesc formats[] = { 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 469 { 0, V4L2_BUF_TYPE_VIDEO_CAPTURE, 0, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 @470 "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 471 }, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 472 { 1, V4L2_BUF_TYPE_VIDEO_CAPTURE, V4L2_FMT_FLAG_COMPRESSED, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 473 "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 474 }, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 475 { 2, V4L2_BUF_TYPE_VIDEO_CAPTURE, 0, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 476 "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 477 }, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 478 }; 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 479 b7101de3fff596 drivers/media/video/cx18/cx18-ioctl.c Steven Toth 2011-04-06 480 if (fmt->index > ARRAY_SIZE(formats) - 1) 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 481 return -EINVAL; 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 482 *fmt = formats[fmt->index]; 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 483 return 0; 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 484 } 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 485 :::::: The code at line 470 was first introduced by commit :::::: 1bf5842fe3b61d2dbbced96dbd27ad26fe93444a [media] cx18: Clean up mmap() support for raw YUV :::::: TO: Simon Farnsworth <simon.farnsworth@onelan.co.uk> :::::: CC: Mauro Carvalho Chehab <mchehab@redhat.com> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 60415 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH v6 2/5] media: v4l2: Extend VIDIOC_ENUM_FMT to support MC-centric devices Date: Thu, 19 Mar 2020 11:52:24 +0800 [thread overview] Message-ID: <202003191148.Imnfr3wD%lkp@intel.com> (raw) In-Reply-To: <20200319004701.30416-3-laurent.pinchart@ideasonboard.com> [-- Attachment #1: Type: text/plain, Size: 7889 bytes --] Hi Laurent, I love your patch! Perhaps something to improve: [auto build test WARNING on v5.6-rc6] [also build test WARNING on next-20200318] [cannot apply to linuxtv-media/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Laurent-Pinchart/v4l2-dev-ioctl-Add-V4L2_CAP_IO_MC/20200319-084846 base: fb33c6510d5595144d585aa194d377cf74d31911 config: parisc-allyesconfig (attached as .config) compiler: hppa-linux-gcc (GCC) 9.2.0 reproduce: 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 GCC_VERSION=9.2.0 make.cross ARCH=parisc If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@intel.com> All warnings (new ones prefixed by >>): drivers/media//pci/cx18/cx18-ioctl.c: In function 'cx18_enum_fmt_vid_cap': >> drivers/media//pci/cx18/cx18-ioctl.c:470:5: warning: braces around scalar initializer 470 | "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } | ^~~~~~~~~~~~~~~~~~ drivers/media//pci/cx18/cx18-ioctl.c:470:5: note: (near initialization for 'formats[0].mbus_code') >> drivers/media//pci/cx18/cx18-ioctl.c:470:49: warning: excess elements in scalar initializer 470 | "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:470:49: note: (near initialization for 'formats[0].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:470:52: warning: excess elements in scalar initializer 470 | "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:470:52: note: (near initialization for 'formats[0].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:470:55: warning: excess elements in scalar initializer 470 | "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:470:55: note: (near initialization for 'formats[0].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:473:5: warning: braces around scalar initializer 473 | "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } | ^~~~~~ drivers/media//pci/cx18/cx18-ioctl.c:473:5: note: (near initialization for 'formats[1].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:473:37: warning: excess elements in scalar initializer 473 | "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:473:37: note: (near initialization for 'formats[1].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:473:40: warning: excess elements in scalar initializer 473 | "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:473:40: note: (near initialization for 'formats[1].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:473:43: warning: excess elements in scalar initializer 473 | "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:473:43: note: (near initialization for 'formats[1].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:476:5: warning: braces around scalar initializer 476 | "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } | ^~~~~~~~~~~~ drivers/media//pci/cx18/cx18-ioctl.c:476:5: note: (near initialization for 'formats[2].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:476:43: warning: excess elements in scalar initializer 476 | "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:476:43: note: (near initialization for 'formats[2].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:476:46: warning: excess elements in scalar initializer 476 | "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:476:46: note: (near initialization for 'formats[2].mbus_code') drivers/media//pci/cx18/cx18-ioctl.c:476:49: warning: excess elements in scalar initializer 476 | "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } | ^ drivers/media//pci/cx18/cx18-ioctl.c:476:49: note: (near initialization for 'formats[2].mbus_code') vim +470 drivers/media//pci/cx18/cx18-ioctl.c 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 464 3b6fe58f0f1888 drivers/media/video/cx18/cx18-ioctl.c Andy Walls 2008-06-21 465 static int cx18_enum_fmt_vid_cap(struct file *file, void *fh, 3b6fe58f0f1888 drivers/media/video/cx18/cx18-ioctl.c Andy Walls 2008-06-21 466 struct v4l2_fmtdesc *fmt) 3b6fe58f0f1888 drivers/media/video/cx18/cx18-ioctl.c Andy Walls 2008-06-21 467 { 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 468 static const struct v4l2_fmtdesc formats[] = { 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 469 { 0, V4L2_BUF_TYPE_VIDEO_CAPTURE, 0, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 @470 "HM12 (YUV 4:1:1)", V4L2_PIX_FMT_HM12, { 0, 0, 0, 0 } 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 471 }, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 472 { 1, V4L2_BUF_TYPE_VIDEO_CAPTURE, V4L2_FMT_FLAG_COMPRESSED, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 473 "MPEG", V4L2_PIX_FMT_MPEG, { 0, 0, 0, 0 } 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 474 }, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 475 { 2, V4L2_BUF_TYPE_VIDEO_CAPTURE, 0, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 476 "UYVY 4:2:2", V4L2_PIX_FMT_UYVY, { 0, 0, 0, 0 } 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 477 }, 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 478 }; 1bf5842fe3b61d drivers/media/video/cx18/cx18-ioctl.c Simon Farnsworth 2011-05-03 479 b7101de3fff596 drivers/media/video/cx18/cx18-ioctl.c Steven Toth 2011-04-06 480 if (fmt->index > ARRAY_SIZE(formats) - 1) 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 481 return -EINVAL; 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 482 *fmt = formats[fmt->index]; 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 483 return 0; 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 484 } 1c1e45d17b663d drivers/media/video/cx18/cx18-ioctl.c Hans Verkuil 2008-04-28 485 :::::: The code at line 470 was first introduced by commit :::::: 1bf5842fe3b61d2dbbced96dbd27ad26fe93444a [media] cx18: Clean up mmap() support for raw YUV :::::: TO: Simon Farnsworth <simon.farnsworth@onelan.co.uk> :::::: CC: Mauro Carvalho Chehab <mchehab@redhat.com> --- 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: 60415 bytes --]
next prev parent reply other threads:[~2020-03-19 3:53 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-19 0:46 [PATCH v6 0/5] v4l2-dev/ioctl: Add V4L2_CAP_IO_MC Laurent Pinchart 2020-03-19 0:46 ` [PATCH v6 1/5] " Laurent Pinchart 2020-03-19 0:46 ` [PATCH v6 2/5] media: v4l2: Extend VIDIOC_ENUM_FMT to support MC-centric devices Laurent Pinchart 2020-03-19 3:42 ` kbuild test robot 2020-03-19 3:42 ` kbuild test robot 2020-03-19 3:52 ` kbuild test robot [this message] 2020-03-19 3:52 ` kbuild test robot 2020-03-19 8:24 ` kbuild test robot 2020-03-19 8:24 ` kbuild test robot 2020-03-23 10:03 ` Sakari Ailus 2020-03-23 10:07 ` Laurent Pinchart 2020-03-23 10:12 ` Sakari Ailus 2020-03-19 0:46 ` [PATCH v6 3/5] rcar-vin: Make use of V4L2_CAP_IO_MC Laurent Pinchart 2020-03-19 0:47 ` [PATCH v6 4/5] staging/intel-ipu3: " Laurent Pinchart 2020-03-19 0:47 ` [PATCH v6 5/5] vimc: " Laurent Pinchart
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=202003191148.Imnfr3wD%lkp@intel.com \ --to=lkp@intel.com \ --cc=helen.koike@collabora.com \ --cc=hverkuil@xs4all.nl \ --cc=kbuild-all@lists.01.org \ --cc=laurent.pinchart@ideasonboard.com \ --cc=linux-media@vger.kernel.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=niklas.soderlund+renesas@ragnatech.se \ --cc=sakari.ailus@linux.intel.com \ /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: linkBe 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.