* drivers/media/v4l2-core/v4l2-async.c:846:2: warning: enumeration value 'V4L2_ASYNC_MATCH_DEVNAME' not handled in switch
@ 2021-01-15 21:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-15 21:14 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2530 bytes --]
tree: https://github.com/0day-ci/linux/commits/UPDATE-20210116-031938/Ezequiel-Garcia/media-v4l2-async-Remove-V4L2_ASYNC_MATCH_CUSTOM/20210109-012059
head: c752661bf6a21030f30dc4fc93b895e68dc23fcd
commit: c752661bf6a21030f30dc4fc93b895e68dc23fcd media: v4l2-async: Add waiting subdevices debugfs
date: 2 hours ago
config: i386-randconfig-r013-20210115 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/c752661bf6a21030f30dc4fc93b895e68dc23fcd
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20210116-031938/Ezequiel-Garcia/media-v4l2-async-Remove-V4L2_ASYNC_MATCH_CUSTOM/20210109-012059
git checkout c752661bf6a21030f30dc4fc93b895e68dc23fcd
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/media/v4l2-core/v4l2-async.c: In function 'print_waiting_subdev':
drivers/media/v4l2-core/v4l2-async.c:846:2: warning: enumeration value 'V4L2_ASYNC_MATCH_CUSTOM' not handled in switch [-Wswitch]
846 | switch (asd->match_type) {
| ^~~~~~
>> drivers/media/v4l2-core/v4l2-async.c:846:2: warning: enumeration value 'V4L2_ASYNC_MATCH_DEVNAME' not handled in switch [-Wswitch]
vim +/V4L2_ASYNC_MATCH_DEVNAME +846 drivers/media/v4l2-core/v4l2-async.c
842
843 static void print_waiting_subdev(struct seq_file *s,
844 struct v4l2_async_subdev *asd)
845 {
> 846 switch (asd->match_type) {
847 case V4L2_ASYNC_MATCH_I2C:
848 seq_printf(s, " [i2c] dev=%d-%04x\n", asd->match.i2c.adapter_id,
849 asd->match.i2c.address);
850 break;
851 case V4L2_ASYNC_MATCH_FWNODE: {
852 struct fwnode_handle *devnode, *fwnode = asd->match.fwnode;
853
854 devnode = fwnode_graph_is_endpoint(fwnode) ?
855 fwnode_graph_get_port_parent(fwnode) :
856 fwnode_handle_get(fwnode);
857
858 seq_printf(s, " [fwnode] dev=%s, node=%pfw\n",
859 devnode->dev ? dev_name(devnode->dev) : "nil",
860 fwnode);
861
862 fwnode_handle_put(devnode);
863 break;
864 }
865 }
866 }
867
---
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: 37712 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-15 21:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15 21:14 drivers/media/v4l2-core/v4l2-async.c:846:2: warning: enumeration value 'V4L2_ASYNC_MATCH_DEVNAME' not handled in switch kernel 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.