From: kbuild test robot <lkp@intel.com>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: kbuild-all@01.org, lgirdwood@gmail.com, broonie@kernel.org,
perex@perex.cz, tiwai@suse.com, heiko@sntech.de,
alsa-devel@alsa-project.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Subject: Re: [PATCH] ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'
Date: Thu, 15 Jun 2017 19:38:13 +0800 [thread overview]
Message-ID: <201706151948.nzHz2kMo%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170615055311.8049-1-christophe.jaillet@wanadoo.fr>
[-- Attachment #1: Type: text/plain, Size: 2481 bytes --]
Hi Christophe,
[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.12-rc5 next-20170615]
[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/Christophe-JAILLET/ASoC-rockchip-Fix-an-error-handling-in-rockchip_i2s_probe/20170615-184817
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/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=xtensa
All errors (new ones prefixed by >>):
sound/soc//rockchip/rockchip_i2s.c: In function 'rockchip_i2s_probe':
>> sound/soc//rockchip/rockchip_i2s.c:619:11: error: expected ')' before 'sizeof'
sizeof(*soc_dai), GFP_KERNEL);
^
>> sound/soc//rockchip/rockchip_i2s.c:618:12: error: too few arguments to function 'devm_kmemdup'
soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai
^
In file included from include/linux/gpio/driver.h:4:0,
from include/asm-generic/gpio.h:12,
from include/linux/gpio.h:51,
from include/linux/of_gpio.h:20,
from sound/soc//rockchip/rockchip_i2s.c:16:
include/linux/device.h:684:14: note: declared here
extern void *devm_kmemdup(struct device *dev, const void *src, size_t len,
^
>> sound/soc//rockchip/rockchip_i2s.c:621:3: error: 'err' undeclared (first use in this function)
err = -ENOMEM;
^
sound/soc//rockchip/rockchip_i2s.c:621:3: note: each undeclared identifier is reported only once for each function it appears in
vim +/devm_kmemdup +618 sound/soc//rockchip/rockchip_i2s.c
612 if (!pm_runtime_enabled(&pdev->dev)) {
613 ret = i2s_runtime_resume(&pdev->dev);
614 if (ret)
615 goto err_pm_disable;
616 }
617
> 618 soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai
> 619 sizeof(*soc_dai), GFP_KERNEL);
620 if (!soc_dai) {
> 621 err = -ENOMEM;
622 goto err_pm_disable;
623 }
624
---
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: 50141 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'
Date: Thu, 15 Jun 2017 11:38:13 +0000 [thread overview]
Message-ID: <201706151948.nzHz2kMo%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170615055311.8049-1-christophe.jaillet@wanadoo.fr>
[-- Attachment #1: Type: text/plain, Size: 2481 bytes --]
Hi Christophe,
[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.12-rc5 next-20170615]
[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/Christophe-JAILLET/ASoC-rockchip-Fix-an-error-handling-in-rockchip_i2s_probe/20170615-184817
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/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=xtensa
All errors (new ones prefixed by >>):
sound/soc//rockchip/rockchip_i2s.c: In function 'rockchip_i2s_probe':
>> sound/soc//rockchip/rockchip_i2s.c:619:11: error: expected ')' before 'sizeof'
sizeof(*soc_dai), GFP_KERNEL);
^
>> sound/soc//rockchip/rockchip_i2s.c:618:12: error: too few arguments to function 'devm_kmemdup'
soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai
^
In file included from include/linux/gpio/driver.h:4:0,
from include/asm-generic/gpio.h:12,
from include/linux/gpio.h:51,
from include/linux/of_gpio.h:20,
from sound/soc//rockchip/rockchip_i2s.c:16:
include/linux/device.h:684:14: note: declared here
extern void *devm_kmemdup(struct device *dev, const void *src, size_t len,
^
>> sound/soc//rockchip/rockchip_i2s.c:621:3: error: 'err' undeclared (first use in this function)
err = -ENOMEM;
^
sound/soc//rockchip/rockchip_i2s.c:621:3: note: each undeclared identifier is reported only once for each function it appears in
vim +/devm_kmemdup +618 sound/soc//rockchip/rockchip_i2s.c
612 if (!pm_runtime_enabled(&pdev->dev)) {
613 ret = i2s_runtime_resume(&pdev->dev);
614 if (ret)
615 goto err_pm_disable;
616 }
617
> 618 soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai
> 619 sizeof(*soc_dai), GFP_KERNEL);
620 if (!soc_dai) {
> 621 err = -ENOMEM;
622 goto err_pm_disable;
623 }
624
---
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: 50141 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, lgirdwood@gmail.com, broonie@kernel.org,
perex@perex.cz, tiwai@suse.com, heiko@sntech.de,
alsa-devel@alsa-project.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Subject: Re: [PATCH] ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'
Date: Thu, 15 Jun 2017 19:38:13 +0800 [thread overview]
Message-ID: <201706151948.nzHz2kMo%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170615055311.8049-1-christophe.jaillet@wanadoo.fr>
[-- Attachment #1: Type: text/plain, Size: 2481 bytes --]
Hi Christophe,
[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.12-rc5 next-20170615]
[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/Christophe-JAILLET/ASoC-rockchip-Fix-an-error-handling-in-rockchip_i2s_probe/20170615-184817
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/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=xtensa
All errors (new ones prefixed by >>):
sound/soc//rockchip/rockchip_i2s.c: In function 'rockchip_i2s_probe':
>> sound/soc//rockchip/rockchip_i2s.c:619:11: error: expected ')' before 'sizeof'
sizeof(*soc_dai), GFP_KERNEL);
^
>> sound/soc//rockchip/rockchip_i2s.c:618:12: error: too few arguments to function 'devm_kmemdup'
soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai
^
In file included from include/linux/gpio/driver.h:4:0,
from include/asm-generic/gpio.h:12,
from include/linux/gpio.h:51,
from include/linux/of_gpio.h:20,
from sound/soc//rockchip/rockchip_i2s.c:16:
include/linux/device.h:684:14: note: declared here
extern void *devm_kmemdup(struct device *dev, const void *src, size_t len,
^
>> sound/soc//rockchip/rockchip_i2s.c:621:3: error: 'err' undeclared (first use in this function)
err = -ENOMEM;
^
sound/soc//rockchip/rockchip_i2s.c:621:3: note: each undeclared identifier is reported only once for each function it appears in
vim +/devm_kmemdup +618 sound/soc//rockchip/rockchip_i2s.c
612 if (!pm_runtime_enabled(&pdev->dev)) {
613 ret = i2s_runtime_resume(&pdev->dev);
614 if (ret)
615 goto err_pm_disable;
616 }
617
> 618 soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai
> 619 sizeof(*soc_dai), GFP_KERNEL);
620 if (!soc_dai) {
> 621 err = -ENOMEM;
622 goto err_pm_disable;
623 }
624
---
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: 50141 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: lkp@intel.com (kbuild test robot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'
Date: Thu, 15 Jun 2017 19:38:13 +0800 [thread overview]
Message-ID: <201706151948.nzHz2kMo%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170615055311.8049-1-christophe.jaillet@wanadoo.fr>
Hi Christophe,
[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.12-rc5 next-20170615]
[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/Christophe-JAILLET/ASoC-rockchip-Fix-an-error-handling-in-rockchip_i2s_probe/20170615-184817
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/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=xtensa
All errors (new ones prefixed by >>):
sound/soc//rockchip/rockchip_i2s.c: In function 'rockchip_i2s_probe':
>> sound/soc//rockchip/rockchip_i2s.c:619:11: error: expected ')' before 'sizeof'
sizeof(*soc_dai), GFP_KERNEL);
^
>> sound/soc//rockchip/rockchip_i2s.c:618:12: error: too few arguments to function 'devm_kmemdup'
soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai
^
In file included from include/linux/gpio/driver.h:4:0,
from include/asm-generic/gpio.h:12,
from include/linux/gpio.h:51,
from include/linux/of_gpio.h:20,
from sound/soc//rockchip/rockchip_i2s.c:16:
include/linux/device.h:684:14: note: declared here
extern void *devm_kmemdup(struct device *dev, const void *src, size_t len,
^
>> sound/soc//rockchip/rockchip_i2s.c:621:3: error: 'err' undeclared (first use in this function)
err = -ENOMEM;
^
sound/soc//rockchip/rockchip_i2s.c:621:3: note: each undeclared identifier is reported only once for each function it appears in
vim +/devm_kmemdup +618 sound/soc//rockchip/rockchip_i2s.c
612 if (!pm_runtime_enabled(&pdev->dev)) {
613 ret = i2s_runtime_resume(&pdev->dev);
614 if (ret)
615 goto err_pm_disable;
616 }
617
> 618 soc_dai = devm_kmemdup(&pdev->dev, &rockchip_i2s_dai
> 619 sizeof(*soc_dai), GFP_KERNEL);
620 if (!soc_dai) {
> 621 err = -ENOMEM;
622 goto err_pm_disable;
623 }
624
---
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/gzip
Size: 50141 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170615/b6456d57/attachment-0001.gz>
next prev parent reply other threads:[~2017-06-15 11:38 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-15 5:53 [PATCH] ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe' Christophe JAILLET
2017-06-15 5:53 ` Christophe JAILLET
2017-06-15 5:53 ` Christophe JAILLET
2017-06-15 11:38 ` kbuild test robot [this message]
2017-06-15 11:38 ` kbuild test robot
2017-06-15 11:38 ` kbuild test robot
2017-06-15 11:38 ` kbuild test robot
2017-06-15 17:20 ` Applied "ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'" to the asoc tree Mark Brown
2017-06-15 17:20 ` Mark Brown
2017-06-15 17:20 ` Mark Brown
2017-06-15 17:20 ` Mark Brown
2017-06-15 17:20 ` Mark Brown
2017-06-15 17:32 ` Christophe JAILLET
2017-06-15 17:32 ` Christophe JAILLET
2017-06-15 17:32 ` Christophe JAILLET
2017-06-15 19:12 ` Mark Brown
2017-06-15 19:12 ` Mark Brown
2017-06-15 19:12 ` Mark Brown
2017-06-15 19:12 ` Mark Brown
2017-06-16 4:57 ` Christophe JAILLET
2017-06-16 4:57 ` Christophe JAILLET
2017-06-16 4:57 ` Christophe JAILLET
2017-06-16 9:18 ` Mark Brown
2017-06-16 9:18 ` Mark Brown
2017-06-16 9:18 ` Mark Brown
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=201706151948.nzHz2kMo%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=heiko@sntech.de \
--cc=kbuild-all@01.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=perex@perex.cz \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.