<div dir="ltr">I have fix the issue and (force) updated the branch<div><br></div><div>Thanks,</div><div>Benjamin</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-30 21:24 GMT+02:00 kbuild test robot <span dir="ltr"><<a href="mailto:fengguang.wu@intel.com" target="_blank">fengguang.wu@intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">tree: <a href="https://git.linaro.org/people/benjamin.gaignard/kernel" rel="noreferrer" target="_blank">https://git.linaro.org/people/benjamin.gaignard/kernel</a> sti-drm-next-2016-06-30<br>
head: 25068cfb36b0e13cb11c0eb80b0616557355b652<br>
commit: 25068cfb36b0e13cb11c0eb80b0616557355b652 [4/4] drm: sti: Add ASoC generic hdmi codec support.<br>
config: arm-allyesconfig (attached as .config)<br>
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205<br>
reproduce:<br>
wget <a href="https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross" rel="noreferrer" target="_blank">https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross</a> -O ~/bin/make.cross<br>
chmod +x ~/bin/make.cross<br>
git checkout 25068cfb36b0e13cb11c0eb80b0616557355b652<br>
# save the attached .config to linux build tree<br>
make.cross ARCH=arm<br>
<br>
All error/warnings (new ones prefixed by >>):<br>
<br>
drivers/gpu/drm/sti/sti_hdmi.c: In function 'hdmi_audio_infoframe_config':<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:478:41: error: 'struct sti_hdmi' has no member named 'audio'<br>
struct hdmi_audio_params *audio = &hdmi->audio;<br>
^<br>
In file included from drivers/gpu/drm/sti/sti_hdmi.c:16:0:<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:483:10: error: dereferencing pointer to incomplete type 'struct hdmi_audio_params'<br>
audio->enabled ? "enable" : "disable");<br>
^<br>
include/drm/drmP.h:211:41: note: in definition of macro 'DRM_DEBUG_DRIVER'<br>
drm_ut_debug_printk(__func__, fmt, ##args); \<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c: At top level:<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1128:12: warning: 'struct hdmi_audio_params' declared inside parameter list<br>
struct hdmi_audio_params *params)<br>
^<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1128:12: warning: its scope is only this definition or declaration, which is probably not what you want<br>
drivers/gpu/drm/sti/sti_hdmi.c: In function 'hdmi_audio_configure':<br>
drivers/gpu/drm/sti/sti_hdmi.c:1131:45: error: dereferencing pointer to incomplete type 'struct hdmi_audio_params'<br>
struct hdmi_audio_infoframe *info = ¶ms->cea;<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1167:6: error: 'struct sti_hdmi' has no member named 'audio'<br>
hdmi->audio = *params;<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c: In function 'hdmi_audio_shutdown':<br>
drivers/gpu/drm/sti/sti_hdmi.c:1184:6: error: 'struct sti_hdmi' has no member named 'audio'<br>
hdmi->audio.enabled = 0;<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c: In function 'hdmi_audio_hw_params':<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1194:9: error: variable 'audio' has initializer but incomplete type<br>
struct hdmi_audio_params audio = {<br>
^<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1195:3: error: unknown field 'sample_width' specified in initializer<br>
.sample_width = params->sample_width,<br>
^<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1195:19: warning: excess elements in struct initializer<br>
.sample_width = params->sample_width,<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1195:19: note: (near initialization for 'audio')<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1196:3: error: unknown field 'sample_rate' specified in initializer<br>
.sample_rate = params->sample_rate,<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1196:18: warning: excess elements in struct initializer<br>
.sample_rate = params->sample_rate,<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1196:18: note: (near initialization for 'audio')<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1197:3: error: unknown field 'cea' specified in initializer<br>
.cea = params->cea,<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1197:10: warning: excess elements in struct initializer<br>
.cea = params->cea,<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1197:10: note: (near initialization for 'audio')<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1194:27: error: storage size of 'audio' isn't known<br>
struct hdmi_audio_params audio = {<br>
^<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1194:27: warning: unused variable 'audio' [-Wunused-variable]<br>
drivers/gpu/drm/sti/sti_hdmi.c: In function 'hdmi_audio_get_eld':<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1241:40: error: 'struct sti_hdmi' has no member named 'drm_connector'<br>
struct drm_connector *connector = hdmi->drm_connector;<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c: In function 'sti_hdmi_register_audio_driver':<br>
drivers/gpu/drm/sti/sti_hdmi.c:1267:6: error: 'struct sti_hdmi' has no member named 'audio'<br>
hdmi->audio.enabled = 0;<br>
^<br>
>> drivers/gpu/drm/sti/sti_hdmi.c:1269:6: error: 'struct sti_hdmi' has no member named 'audio_pdev'<br>
hdmi->audio_pdev = platform_device_register_data(<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1273:17: error: 'struct sti_hdmi' has no member named 'audio_pdev'<br>
if (IS_ERR(hdmi->audio_pdev))<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1274:22: error: 'struct sti_hdmi' has no member named 'audio_pdev'<br>
return PTR_ERR(hdmi->audio_pdev);<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c: In function 'sti_hdmi_bind':<br>
drivers/gpu/drm/sti/sti_hdmi.c:1327:6: error: 'struct sti_hdmi' has no member named 'drm_connector'<br>
hdmi->drm_connector = drm_connector;<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1342:39: error: 'struct sti_hdmi' has no member named 'audio'<br>
err = hdmi_audio_infoframe_init(&hdmi->audio.cea);<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1355:6: error: 'struct sti_hdmi' has no member named 'drm_connector'<br>
hdmi->drm_connector = NULL;<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c: In function 'sti_hdmi_remove':<br>
drivers/gpu/drm/sti/sti_hdmi.c:1505:10: error: 'struct sti_hdmi' has no member named 'audio_pdev'<br>
if (hdmi->audio_pdev)<br>
^<br>
drivers/gpu/drm/sti/sti_hdmi.c:1506:34: error: 'struct sti_hdmi' has no member named 'audio_pdev'<br>
platform_device_unregister(hdmi->audio_pdev);<br>
^<br>
<br>
vim +478 drivers/gpu/drm/sti/sti_hdmi.c<br>
<br>
472 * @hdmi: pointer on the hdmi internal structure<br>
473 *<br>
474 * Return negative value if error occurs<br>
475 */<br>
476 static int hdmi_audio_infoframe_config(struct sti_hdmi *hdmi)<br>
477 {<br>
> 478 struct hdmi_audio_params *audio = &hdmi->audio;<br>
479 u8 buffer[HDMI_INFOFRAME_SIZE(AUDIO)];<br>
480 int ret, val;<br>
481<br>
482 DRM_DEBUG_DRIVER("enter %s, AIF %s\n", __func__,<br>
> 483 audio->enabled ? "enable" : "disable");<br>
484 if (audio->enabled) {<br>
485 /* set audio parameters stored*/<br>
486 ret = hdmi_audio_infoframe_pack(&audio->cea, buffer,<br>
<br>
---<br>
0-DAY kernel test infrastructure Open Source Technology Center<br>
<a href="https://lists.01.org/pipermail/kbuild-all" rel="noreferrer" target="_blank">https://lists.01.org/pipermail/kbuild-all</a> Intel Corporation<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Benjamin Gaignard </p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Graphic Working Group</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span lang="EN-US" style="font-size:10pt;color:rgb(0,176,80)"><span style="color:rgb(0,68,252)"><a href="http://www.linaro.org/" style="color:rgb(0,0,204)" target="_blank">Linaro.org</a></span><b> </b></span><b><span lang="EN-US" style="font-size:10pt">│ </span></b><span lang="EN-US" style="font-size:10pt">Open source software for ARM SoCs</span></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><u></u></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span lang="EN-US" style="font-size:10pt">Follow <b>Linaro: </b></span><span style="font-size:10pt;color:rgb(0,68,252)"><a href="http://www.facebook.com/pages/Linaro" style="color:rgb(0,0,204)" target="_blank"><span style="color:blue">Facebook</span></a></span><span style="font-size:10pt"> | <span style="color:rgb(0,68,252)"><a href="http://twitter.com/#!/linaroorg" style="color:rgb(0,0,204)" target="_blank"><span style="color:blue">Twitter</span></a></span> | <span style="color:rgb(0,68,252)"><a href="http://www.linaro.org/linaro-blog/" style="color:rgb(0,0,204)" target="_blank"><span style="color:blue">Blog</span></a></span></span></p></span></div>
</div>