tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/drm head: 7204e97685634813d8456f1900b7f38fa7701e60 commit: 7204e97685634813d8456f1900b7f38fa7701e60 [2/2] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id config: x86_64-randconfig-x004-201726 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 7204e97685634813d8456f1900b7f38fa7701e60 # save the attached .config to linux build tree make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/gpu//drm/bridge/adv7511/adv7511_audio.c:210:2: error: unknown field 'get_dai_id' specified in initializer
.get_dai_id = adv7511_hdmi_i2s_get_dai_id, ^
drivers/gpu//drm/bridge/adv7511/adv7511_audio.c:210:16: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_dai_id = adv7511_hdmi_i2s_get_dai_id, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu//drm/bridge/adv7511/adv7511_audio.c:210:16: note: (near initialization for 'adv7511_codec_ops.hw_params') cc1: some warnings being treated as errors
vim +/get_dai_id +210 drivers/gpu//drm/bridge/adv7511/adv7511_audio.c
204 } 205 206 static const struct hdmi_codec_ops adv7511_codec_ops = { 207 .hw_params = adv7511_hdmi_hw_params, 208 .audio_shutdown = audio_shutdown, 209 .audio_startup = audio_startup,
210 .get_dai_id = adv7511_hdmi_i2s_get_dai_id,
211 }; 212 213 static struct hdmi_codec_pdata codec_data = {
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation