[Intel-gfx] [PATCH v2] ALSA: hda - Fix missing ELD update at unplugging

kbuild test robot lkp at intel.com
Mon Mar 21 23:23:46 UTC 2016


Hi Takashi,

[auto build test ERROR on v4.5-rc7]
[also build test ERROR on next-20160321]
[cannot apply to sound/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Takashi-Iwai/ALSA-hda-Fix-missing-ELD-update-at-unplugging/20160322-045538
config: x86_64-randconfig-s5-03220710 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   sound/pci/hda/patch_hdmi.c: In function 'sync_eld_via_acomp':
>> sound/pci/hda/patch_hdmi.c:1668:2: error: invalid type argument of unary '*' (have 'int')
     *eld->monitor_present = false;
     ^
   sound/pci/hda/patch_hdmi.c:1690:2: warning: label 'unlock' defined but not used [-Wunused-label]
     unlock:
     ^

vim +1668 sound/pci/hda/patch_hdmi.c

  1662	{
  1663		struct hdmi_spec *spec = codec->spec;
  1664		struct hdmi_eld *eld = &spec->temp_eld;
  1665		int size;
  1666	
  1667		mutex_lock(&per_pin->lock);
> 1668		*eld->monitor_present = false;
  1669		size = snd_hdac_acomp_get_eld(&codec->bus->core, per_pin->pin_nid,
  1670					      &eld->monitor_present, eld->eld_buffer,
  1671					      ELD_MAX_SIZE);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 24635 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160322/c096cc68/attachment-0001.obj>


More information about the Intel-gfx mailing list