Hi Max, [auto build test ERROR on v4.5-rc7] [cannot apply to sailus-media/master linuxtv-media/master next-20160321] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Max-Kellermann/drivers-media-dvb-core-en50221-move-code-to-dvb_ca_private_free/20160321-213556 config: x86_64-randconfig-x000-201612 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/media/usb/dvb-usb/dvb-usb-dvb.c: In function 'dvb_usb_media_device_release': >> drivers/media/usb/dvb-usb/dvb-usb-dvb.c:100:2: error: implicit declaration >> of function 'media_device_cleanup' [-Werror=implicit-function-declaration] media_device_cleanup(mdev); ^ drivers/media/usb/dvb-usb/dvb-usb-dvb.c: At top level: drivers/media/usb/dvb-usb/dvb-usb-dvb.c:98:13: warning: 'dvb_usb_media_device_release' defined but not used [-Wunused-function] static void dvb_usb_media_device_release(struct media_device *mdev) ^ In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/uapi/linux/sysinfo.h:4, from include/uapi/linux/kernel.h:4, from include/linux/cache.h:4, from include/linux/time.h:4, from include/linux/input.h:11, from drivers/media/usb/dvb-usb/dvb-usb.h:13, from drivers/media/usb/dvb-usb/dvb-usb-common.h:12, from drivers/media/usb/dvb-usb/dvb-usb-dvb.c:9: drivers/media/usb/dvb-usb/dvb-usb-dvb.c: In function 'dvb_usb_adapter_frontend_init': include/linux/compiler.h:147:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^ drivers/media/usb/dvb-usb/dvb-usb-dvb.c:289:6: note: 'ret' was declared here int ret, i; ^ cc1: some warnings being treated as errors vim +/media_device_cleanup +100 drivers/media/usb/dvb-usb/dvb-usb-dvb.c 94 deb_ts("stop pid: 0x%04x, feedtype: %d\n", dvbdmxfeed->pid, dvbdmxfeed->type); 95 return dvb_usb_ctrl_feed(dvbdmxfeed, 0); 96 } 97 98 static void dvb_usb_media_device_release(struct media_device *mdev) 99 { > 100 media_device_cleanup(mdev); 101 kfree(mdev); 102 } 103 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data