alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [asoc:topic/drm 1/1] drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:88:21: warning: unused variable 'of_ep'
@ 2017-06-29 22:28 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-06-29 22:28 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: alsa-devel, Mark Brown, kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2563 bytes --]

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 49082 bytes --]

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-29 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-29 22:28 [asoc:topic/drm 1/1] drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:88:21: warning: unused variable 'of_ep' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).