Re: [PATCH 7/8] smiapp: Add support for flash, lens and EEPROM devices

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

 



Hi Sakari,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on next-20170614]
[cannot apply to robh/for-next v4.12-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Sakari-Ailus/Support-registering-lens-flash-and-EEPROM-devices/20170615-084016
base:   git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-x000-201724 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/media/i2c/smiapp/smiapp-core.c: In function 'smiapp_unregistered':
>> drivers/media/i2c/smiapp/smiapp-core.c:2578:2: error: implicit declaration of function 'v4l2_async_subnotifier_unregister' [-Werror=implicit-function-declaration]
     v4l2_async_subnotifier_unregister(&sensor->notifier);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/smiapp/smiapp-core.c: In function 'smiapp_registered':
>> drivers/media/i2c/smiapp/smiapp-core.c:2607:9: error: implicit declaration of function 'v4l2_async_subnotifier_register' [-Werror=implicit-function-declaration]
     rval = v4l2_async_subnotifier_register(subdev, &sensor->notifier);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/v4l2_async_subnotifier_unregister +2578 drivers/media/i2c/smiapp/smiapp-core.c

  2572		struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
  2573		unsigned int i;
  2574	
  2575		for (i = 1; i < sensor->ssds_used; i++)
  2576			v4l2_device_unregister_subdev(&sensor->ssds[i].sd);
  2577	
> 2578		v4l2_async_subnotifier_unregister(&sensor->notifier);
  2579	}
  2580	
  2581	static int smiapp_registered(struct v4l2_subdev *subdev)
  2582	{
  2583		struct smiapp_sensor *sensor = to_smiapp_sensor(subdev);
  2584		int rval;
  2585	
  2586		if (sensor->scaler) {
  2587			rval = smiapp_register_subdev(
  2588				sensor, sensor->binner, sensor->scaler,
  2589				SMIAPP_PAD_SRC, SMIAPP_PAD_SINK,
  2590				MEDIA_LNK_FL_ENABLED | MEDIA_LNK_FL_IMMUTABLE);
  2591			if (rval < 0)
  2592				return rval;
  2593		}
  2594	
  2595		rval = smiapp_register_subdev(
  2596			sensor, sensor->pixel_array, sensor->binner,
  2597			SMIAPP_PA_PAD_SRC, SMIAPP_PAD_SINK,
  2598			MEDIA_LNK_FL_ENABLED | MEDIA_LNK_FL_IMMUTABLE);
  2599		if (rval)
  2600			goto out_err;
  2601	
  2602		if (!sensor->notifier.num_subdevs)
  2603			return 0;
  2604	
  2605		sensor->notifier.bound = smiapp_subdev_notifier_bound;
  2606		sensor->notifier.complete = smiapp_subdev_notifier_complete;
> 2607		rval = v4l2_async_subnotifier_register(subdev, &sensor->notifier);
  2608		if (rval)
  2609			goto out_err;
  2610	

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

Attachment: .config.gz
Description: application/gzip


[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