From: kbuild test robot <lkp@intel.com>
To: Colin King <colin.king@canonical.com>
Cc: kbuild-all@01.org, Krzysztof Kozlowski <krzk@kernel.org>,
Sangbeom Kim <sbkim73@samsung.com>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>,
alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [alsa-devel] [PATCH][next] ASoC: samsung: remove redundant pointer cpu_dai
Date: Thu, 15 Mar 2018 01:45:47 +0800 [thread overview]
Message-ID: <201803150102.eguDootg%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180313133626.31286-1-colin.king@canonical.com>
[-- Attachment #1: Type: text/plain, Size: 3161 bytes --]
Hi Colin,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on v4.16-rc4]
[cannot apply to next-20180314]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Colin-King/ASoC-samsung-remove-redundant-pointer-cpu_dai/20180314-232924
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sh
All errors (new ones prefixed by >>):
sound/soc/samsung/snow.c: In function 'snow_late_probe':
>> sound/soc/samsung/snow.c:52:31: error: 'cpu_dai' undeclared (first use in this function); did you mean 'cpu_data'?
ret = snd_soc_dai_set_sysclk(cpu_dai, SAMSUNG_I2S_RCLKSRC_0,
^~~~~~~
cpu_data
sound/soc/samsung/snow.c:52:31: note: each undeclared identifier is reported only once for each function it appears in
vim +52 sound/soc/samsung/snow.c
31c26a6a Tushar Behera 2014-04-28 35
31c26a6a Tushar Behera 2014-04-28 36 static int snow_late_probe(struct snd_soc_card *card)
31c26a6a Tushar Behera 2014-04-28 37 {
5015920a Mengdong Lin 2015-11-18 38 struct snd_soc_pcm_runtime *rtd;
5015920a Mengdong Lin 2015-11-18 39 struct snd_soc_dai *codec_dai;
31c26a6a Tushar Behera 2014-04-28 40 int ret;
31c26a6a Tushar Behera 2014-04-28 41
5015920a Mengdong Lin 2015-11-18 42 rtd = snd_soc_get_pcm_runtime(card, card->dai_link[0].name);
5015920a Mengdong Lin 2015-11-18 43 codec_dai = rtd->codec_dai;
5015920a Mengdong Lin 2015-11-18 44
31c26a6a Tushar Behera 2014-04-28 45 /* Set the MCLK rate for the codec */
31c26a6a Tushar Behera 2014-04-28 46 ret = snd_soc_dai_set_sysclk(codec_dai, 0,
31c26a6a Tushar Behera 2014-04-28 47 FIN_PLL_RATE, SND_SOC_CLOCK_IN);
31c26a6a Tushar Behera 2014-04-28 48 if (ret < 0)
31c26a6a Tushar Behera 2014-04-28 49 return ret;
31c26a6a Tushar Behera 2014-04-28 50
31c26a6a Tushar Behera 2014-04-28 51 /* Select I2S Bus clock to set RCLK and BCLK */
31c26a6a Tushar Behera 2014-04-28 @52 ret = snd_soc_dai_set_sysclk(cpu_dai, SAMSUNG_I2S_RCLKSRC_0,
31c26a6a Tushar Behera 2014-04-28 53 0, SND_SOC_CLOCK_IN);
31c26a6a Tushar Behera 2014-04-28 54 if (ret < 0)
31c26a6a Tushar Behera 2014-04-28 55 return ret;
31c26a6a Tushar Behera 2014-04-28 56
31c26a6a Tushar Behera 2014-04-28 57 return 0;
31c26a6a Tushar Behera 2014-04-28 58 }
31c26a6a Tushar Behera 2014-04-28 59
:::::: The code at line 52 was first introduced by commit
:::::: 31c26a6a842d541ca475a482112dda5993df2374 ASoC: samsung: Add sound card driver for Snow board
:::::: TO: Tushar Behera <tushar.behera@linaro.org>
:::::: CC: Mark Brown <broonie@linaro.org>
---
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: 48060 bytes --]
next prev parent reply other threads:[~2018-03-14 17:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-13 13:36 Colin King
2018-03-13 16:21 ` Mark Brown
2018-03-13 16:22 ` Colin Ian King
2018-03-14 17:45 ` kbuild test robot [this message]
2018-03-14 18:08 ` [alsa-devel] " kbuild test robot
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=201803150102.eguDootg%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=colin.king@canonical.com \
--cc=kbuild-all@01.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=s.nawrocki@samsung.com \
--cc=sbkim73@samsung.com \
--cc=tiwai@suse.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
all inboxes | Powered by JetHome®