alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
	kbuild-all@01.org
Subject: [asoc:topic/drm 1/1] drivers/gpu//drm/bridge/synopsys/dw-hdmi-i2s-audio.c:88:21: warning: unused variable 'of_ep'
Date: Fri, 30 Jun 2017 06:28:18 +0800	[thread overview]
Message-ID: <201706300612.0s5wbv2F%fengguang.wu@intel.com> (raw)

[-- 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 --]



                 reply	other threads:[~2017-06-29 22:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201706300612.0s5wbv2F%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).