tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 761914dd2975bc443024f0ec10a66a26b7186ec2 commit: 39c5c4471b8d793daf868bd004e56ed420e89707 [7145/11012] media: i2c: Add the ov7740 image sensor driver config: i386-randconfig-x007-201803 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: git checkout 39c5c4471b8d793daf868bd004e56ed420e89707 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/media//i2c/ov7740.c: In function 'ov7740_probe': >> drivers/media//i2c/ov7740.c:1139:38: error: 'struct v4l2_subdev' has no member named 'entity' media_entity_cleanup(&ov7740->subdev.entity); ^ vim +1139 drivers/media//i2c/ov7740.c 1100 1101 ret = ov7740_set_power(ov7740, 1); 1102 if (ret) 1103 return ret; 1104 1105 ret = ov7740_detect(ov7740); 1106 if (ret) 1107 goto error_detect; 1108 1109 mutex_init(&ov7740->mutex); 1110 1111 ret = ov7740_init_controls(ov7740); 1112 if (ret) 1113 goto error_init_controls; 1114 1115 v4l_info(client, "chip found @ 0x%02x (%s)\n", 1116 client->addr << 1, client->adapter->name); 1117 1118 ov7740->fmt = &ov7740_formats[0]; 1119 ov7740->frmsize = &ov7740_framesizes[0]; 1120 1121 ov7740_get_default_format(sd, &ov7740->format); 1122 1123 ret = v4l2_async_register_subdev(sd); 1124 if (ret) 1125 goto error_async_register; 1126 1127 pm_runtime_set_active(&client->dev); 1128 pm_runtime_enable(&client->dev); 1129 pm_runtime_idle(&client->dev); 1130 1131 return 0; 1132 1133 error_async_register: 1134 v4l2_ctrl_handler_free(ov7740->subdev.ctrl_handler); 1135 error_init_controls: 1136 ov7740_free_controls(ov7740); 1137 error_detect: 1138 ov7740_set_power(ov7740, 0); > 1139 media_entity_cleanup(&ov7740->subdev.entity); 1140 1141 return ret; 1142 } 1143 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip