* [media:topic/media-controller 2022/2026] drivers/media/usb/uvc/uvc_driver.c:1960:2: note: in expansion of macro 'if'
@ 2015-12-18 20:50 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-12-18 20:50 UTC (permalink / raw)
To: Javier Martinez Canillas; +Cc: kbuild-all, linux-media, Mauro Carvalho Chehab
[-- Attachment #1: Type: text/plain, Size: 3233 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media topic/media-controller
head: 0a3c36e2b81cf4fe4b6d094b27259716f0ed9a4d
commit: 1590ad7b52714fddc958189103c95541b49b1dae [2022/2026] [media] media-device: split media initialization and registration
config: x86_64-randconfig-s1-12190421 (attached as .config)
reproduce:
git checkout 1590ad7b52714fddc958189103c95541b49b1dae
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/atomic.h:4:0,
from include/linux/atomic.h:4,
from drivers/media/usb/uvc/uvc_driver.c:14:
drivers/media/usb/uvc/uvc_driver.c: In function 'uvc_probe':
drivers/media/usb/uvc/uvc_driver.c:1960:32: error: 'struct uvc_device' has no member named 'mdev'
if (media_device_register(&dev->mdev) < 0)
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> drivers/media/usb/uvc/uvc_driver.c:1960:2: note: in expansion of macro 'if'
if (media_device_register(&dev->mdev) < 0)
^
drivers/media/usb/uvc/uvc_driver.c:1960:32: error: 'struct uvc_device' has no member named 'mdev'
if (media_device_register(&dev->mdev) < 0)
^
include/linux/compiler.h:147:40: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> drivers/media/usb/uvc/uvc_driver.c:1960:2: note: in expansion of macro 'if'
if (media_device_register(&dev->mdev) < 0)
^
drivers/media/usb/uvc/uvc_driver.c:1960:32: error: 'struct uvc_device' has no member named 'mdev'
if (media_device_register(&dev->mdev) < 0)
^
include/linux/compiler.h:158:16: note: in definition of macro '__trace_if'
______r = !!(cond); \
^
>> drivers/media/usb/uvc/uvc_driver.c:1960:2: note: in expansion of macro 'if'
if (media_device_register(&dev->mdev) < 0)
^
vim +/if +1960 drivers/media/usb/uvc/uvc_driver.c
1944 if (v4l2_device_register(&intf->dev, &dev->vdev) < 0)
1945 goto error;
1946
1947 /* Initialize controls. */
1948 if (uvc_ctrl_init_device(dev) < 0)
1949 goto error;
1950
1951 /* Scan the device for video chains. */
1952 if (uvc_scan_device(dev) < 0)
1953 goto error;
1954
1955 /* Register video device nodes. */
1956 if (uvc_register_chains(dev) < 0)
1957 goto error;
1958
1959 /* Register the media device node */
> 1960 if (media_device_register(&dev->mdev) < 0)
1961 goto error;
1962
1963 /* Save our data pointer in the interface data. */
1964 usb_set_intfdata(intf, dev);
1965
1966 /* Initialize the interrupt URB. */
1967 if ((ret = uvc_status_init(dev)) < 0) {
1968 uvc_printk(KERN_INFO, "Unable to initialize the status "
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 22806 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-18 20:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-18 20:50 [media:topic/media-controller 2022/2026] drivers/media/usb/uvc/uvc_driver.c:1960:2: note: in expansion of macro 'if' kbuild test robot
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).