* [xlnx:xlnx_rebase_v5.4 217/1297] drivers/media/i2c/adv7511-v4l2.c:427:9: warning: 'return' with a value, in function returning void
@ 2020-05-12 11:32 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-12 11:32 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 6199 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-arm-kernel(a)lists.infradead.org
TO: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
CC: Michal Simek <monstr@monstr.eu>
CC: Davor Joja <davor.joja@logicbricks.com>
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head: 22b71b41620dac13c69267d2b7898ebfb14c954e
commit: 9836a252284b997aacd6b86766514a0bb84b4f43 [217/1297] drivers: media: Customized adv7511 for Xylon LogiCVC (deprecated)
config: h8300-randconfig-r004-20200512 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9836a252284b997aacd6b86766514a0bb84b4f43
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=h8300
:::::: branch date: 7 hours ago
:::::: commit date: 4 weeks ago
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/media/i2c/adv7511-v4l2.c: In function 'adv7511_set_rgb_quantization_mode':
>> drivers/media/i2c/adv7511-v4l2.c:427:9: warning: 'return' with a value, in function returning void [-Wreturn-type]
427 | return 0;
| ^
drivers/media/i2c/adv7511-v4l2.c:422:13: note: declared here
422 | static void adv7511_set_rgb_quantization_mode(struct v4l2_subdev *sd, struct v4l2_ctrl *ctrl)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# https://github.com/Xilinx/linux-xlnx/commit/9836a252284b997aacd6b86766514a0bb84b4f43
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git remote update xlnx
git checkout 9836a252284b997aacd6b86766514a0bb84b4f43
vim +/return +427 drivers/media/i2c/adv7511-v4l2.c
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 421
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 422 static void adv7511_set_rgb_quantization_mode(struct v4l2_subdev *sd, struct v4l2_ctrl *ctrl)
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 423 {
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 424 struct adv7511_state *state = get_adv7511_state(sd);
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 425
9836a252284b99 drivers/media/i2c/adv7511-v4l2.c Radhey Shyam Pandey 2014-01-15 426 #ifdef XYLON_LOGICVC_INTG
9836a252284b99 drivers/media/i2c/adv7511-v4l2.c Radhey Shyam Pandey 2014-01-15 @427 return 0;
9836a252284b99 drivers/media/i2c/adv7511-v4l2.c Radhey Shyam Pandey 2014-01-15 428 #endif
9836a252284b99 drivers/media/i2c/adv7511-v4l2.c Radhey Shyam Pandey 2014-01-15 429
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 430 /* Only makes sense for RGB formats */
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 431 if (state->fmt_code != MEDIA_BUS_FMT_RGB888_1X24) {
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 432 /* so just keep quantization */
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 433 adv7511_csc_rgb_full2limit(sd, false);
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 434 return;
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 435 }
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 436
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 437 switch (ctrl->val) {
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 438 case V4L2_DV_RGB_RANGE_AUTO:
0a25a012519463 drivers/media/i2c/adv7511.c Hans Verkuil 2016-06-28 439 /* automatic */
680fee04a227d6 drivers/media/i2c/adv7511.c Hans Verkuil 2015-03-20 440 if (state->dv_timings.bt.flags & V4L2_DV_FL_IS_CE_VIDEO) {
680fee04a227d6 drivers/media/i2c/adv7511.c Hans Verkuil 2015-03-20 441 /* CE format, RGB limited range (16-235) */
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 442 adv7511_csc_rgb_full2limit(sd, true);
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 443 } else {
680fee04a227d6 drivers/media/i2c/adv7511.c Hans Verkuil 2015-03-20 444 /* not CE format, RGB full range (0-255) */
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 445 adv7511_csc_rgb_full2limit(sd, false);
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 446 }
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 447 break;
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 448 case V4L2_DV_RGB_RANGE_LIMITED:
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 449 /* RGB limited range (16-235) */
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 450 adv7511_csc_rgb_full2limit(sd, true);
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 451 break;
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 452 case V4L2_DV_RGB_RANGE_FULL:
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 453 /* RGB full range (0-255) */
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 454 adv7511_csc_rgb_full2limit(sd, false);
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 455 break;
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 456 }
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 457 }
5a544cce2177fe drivers/media/i2c/adv7511.c Hans Verkuil 2013-08-23 458
---
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: 23491 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-12 11:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 11:32 [xlnx:xlnx_rebase_v5.4 217/1297] drivers/media/i2c/adv7511-v4l2.c:427:9: warning: 'return' with a value, in function returning void kbuild test robot
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.