[asoc:topic/drm 1/1] drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:88:21: warning: unused variable 'of_ep'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/drm
head:   e3839bd6f56a291f00a4c3737eb15ca0344a82a9
commit: e3839bd6f56a291f00a4c3737eb15ca0344a82a9 [1/1] drm: dw-hdmi-i2s: add .get_dai_id callback for ALSA SoC
config: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout e3839bd6f56a291f00a4c3737eb15ca0344a82a9
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

   drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:86:14: warning: 'struct snd_soc_component' declared inside parameter list [enabled by default]
   drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:86:14: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
   drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c: In function 'dw_hdmi_i2s_get_dai_id':
   drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:88:21: error: storage size of 'of_ep' isn't known
   drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:91:2: error: implicit declaration of function 'of_graph_parse_endpoint'
>> drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:88:21: warning: unused variable 'of_ep'
   drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c: At top level:
   drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:108:2: error: unknown field 'get_dai_id' specified in initializer
   drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:108:2: warning: initialization from incompatible pointer type [enabled by default]
   drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:108:2: warning: (near initialization for 'dw_hdmi_i2s_ops.digital_mute') [enabled by default]
   cc1: some warnings being treated as errors

vim +/of_ep +88 drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c

    80		dw_hdmi_audio_disable(hdmi);
    81	
    82		hdmi_write(audio, HDMI_AUD_CONF0_SW_RESET, HDMI_AUD_CONF0);
    83	}
    84	
    85	static int dw_hdmi_i2s_get_dai_id(struct snd_soc_component *component,
  > 86					  struct device_node *endpoint)
    87	{
  > 88		struct of_endpoint of_ep;
    89		int ret;
    90	
    91		ret = of_graph_parse_endpoint(endpoint, &of_ep);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux