Re: [PATCH 1/1] v4l: subdev: Register the entity before calling subdev's registered op

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
Hi Sakari,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.4-rc6 next-20151223]

url:    https://github.com/0day-ci/linux/commits/Sakari-Ailus/v4l-subdev-Register-the-entity-before-calling-subdev-s-registered-op/20151228-074927
base:   git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-x016-201552 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/media/v4l2-core/v4l2-device.c: In function 'v4l2_device_register_subdev':
>> drivers/media/v4l2-core/v4l2-device.c:210:33: error: 'entity' undeclared (first use in this function)
     media_device_unregister_entity(entity);
                                    ^
   drivers/media/v4l2-core/v4l2-device.c:210:33: note: each undeclared identifier is reported only once for each function it appears in

vim +/entity +210 drivers/media/v4l2-core/v4l2-device.c

   204		list_add_tail(&sd->list, &v4l2_dev->subdevs);
   205		spin_unlock(&v4l2_dev->lock);
   206	
   207		return 0;
   208	
   209	error_unregister:
 > 210		media_device_unregister_entity(entity);
   211	error_module:
   212		if (!sd->owner_v4l2_dev)
   213			module_put(sd->owner);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux