tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ce397d215ccd07b8ae3f71db689aedb85d56ab40 commit: 1fc3b37f34f69ee3fd61ca624fc005fb0bfe3984 media: v4l: cadence: Add Cadence MIPI-CSI2 RX driver date: 5 weeks ago config: x86_64-randconfig-s5-06180721 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: git checkout 1fc3b37f34f69ee3fd61ca624fc005fb0bfe3984 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/media/v4l2-core/v4l2-fwnode.o: In function `v4l2_async_register_subdev_sensor_common': >> drivers/media/v4l2-core/v4l2-fwnode.c:928: undefined reference to `v4l2_async_subdev_notifier_register' >> drivers/media/v4l2-core/v4l2-fwnode.c:944: undefined reference to `v4l2_async_notifier_cleanup' >> drivers/media/v4l2-core/v4l2-fwnode.c:932: undefined reference to `v4l2_async_register_subdev' >> drivers/media/v4l2-core/v4l2-fwnode.c:941: undefined reference to `v4l2_async_notifier_unregister' drivers/media/platform/cadence/cdns-csi2rx.o: In function `csi2rx_remove': >> drivers/media/platform/cadence/cdns-csi2rx.c:474: undefined reference to `v4l2_async_unregister_subdev' drivers/media/platform/cadence/cdns-csi2rx.o: In function `csi2rx_parse_dt': >> drivers/media/platform/cadence/cdns-csi2rx.c:411: undefined reference to `v4l2_async_subdev_notifier_register' drivers/media/platform/cadence/cdns-csi2rx.o: In function `csi2rx_probe': >> drivers/media/platform/cadence/cdns-csi2rx.c:438: undefined reference to `v4l2_subdev_init' >> drivers/media/platform/cadence/cdns-csi2rx.c:454: undefined reference to `v4l2_async_register_subdev' vim +928 drivers/media/v4l2-core/v4l2-fwnode.c 7a9ec808 Sakari Ailus 2017-09-06 910 aef69d54 Sakari Ailus 2017-09-24 911 int v4l2_async_register_subdev_sensor_common(struct v4l2_subdev *sd) aef69d54 Sakari Ailus 2017-09-24 912 { aef69d54 Sakari Ailus 2017-09-24 913 struct v4l2_async_notifier *notifier; aef69d54 Sakari Ailus 2017-09-24 914 int ret; aef69d54 Sakari Ailus 2017-09-24 915 aef69d54 Sakari Ailus 2017-09-24 916 if (WARN_ON(!sd->dev)) aef69d54 Sakari Ailus 2017-09-24 917 return -ENODEV; aef69d54 Sakari Ailus 2017-09-24 918 aef69d54 Sakari Ailus 2017-09-24 919 notifier = kzalloc(sizeof(*notifier), GFP_KERNEL); aef69d54 Sakari Ailus 2017-09-24 920 if (!notifier) aef69d54 Sakari Ailus 2017-09-24 921 return -ENOMEM; aef69d54 Sakari Ailus 2017-09-24 922 aef69d54 Sakari Ailus 2017-09-24 923 ret = v4l2_async_notifier_parse_fwnode_sensor_common(sd->dev, aef69d54 Sakari Ailus 2017-09-24 924 notifier); aef69d54 Sakari Ailus 2017-09-24 925 if (ret < 0) aef69d54 Sakari Ailus 2017-09-24 926 goto out_cleanup; aef69d54 Sakari Ailus 2017-09-24 927 aef69d54 Sakari Ailus 2017-09-24 @928 ret = v4l2_async_subdev_notifier_register(sd, notifier); aef69d54 Sakari Ailus 2017-09-24 929 if (ret < 0) aef69d54 Sakari Ailus 2017-09-24 930 goto out_cleanup; aef69d54 Sakari Ailus 2017-09-24 931 aef69d54 Sakari Ailus 2017-09-24 @932 ret = v4l2_async_register_subdev(sd); aef69d54 Sakari Ailus 2017-09-24 933 if (ret < 0) aef69d54 Sakari Ailus 2017-09-24 934 goto out_unregister; aef69d54 Sakari Ailus 2017-09-24 935 aef69d54 Sakari Ailus 2017-09-24 936 sd->subdev_notifier = notifier; aef69d54 Sakari Ailus 2017-09-24 937 aef69d54 Sakari Ailus 2017-09-24 938 return 0; aef69d54 Sakari Ailus 2017-09-24 939 aef69d54 Sakari Ailus 2017-09-24 940 out_unregister: aef69d54 Sakari Ailus 2017-09-24 @941 v4l2_async_notifier_unregister(notifier); aef69d54 Sakari Ailus 2017-09-24 942 aef69d54 Sakari Ailus 2017-09-24 943 out_cleanup: aef69d54 Sakari Ailus 2017-09-24 @944 v4l2_async_notifier_cleanup(notifier); aef69d54 Sakari Ailus 2017-09-24 945 kfree(notifier); aef69d54 Sakari Ailus 2017-09-24 946 aef69d54 Sakari Ailus 2017-09-24 947 return ret; aef69d54 Sakari Ailus 2017-09-24 948 } aef69d54 Sakari Ailus 2017-09-24 949 EXPORT_SYMBOL_GPL(v4l2_async_register_subdev_sensor_common); aef69d54 Sakari Ailus 2017-09-24 950 :::::: The code at line 928 was first introduced by commit :::::: aef69d54755d45edefbf347a51efd1673d7daed9 media: v4l: fwnode: Add a convenience function for registering sensors :::::: TO: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> :::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip