From: Suzuki K Poulose <Suzuki.Poulose@arm.com>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Mathieu Poirier <mathieu.poirier@linaro.org>
Subject: Re: [PATCH] coresight: Use local coresight_desc instances
Date: Wed, 13 Jul 2016 17:26:07 +0100 [thread overview]
Message-ID: <ef39eb06-38eb-9ab8-64f4-683513a773cc@arm.com> (raw)
In-Reply-To: <201607140048.yap01jMZ%fengguang.wu@intel.com>
On 13/07/16 17:21, kbuild test robot wrote:
> Hi,
>
> [auto build test ERROR on next-20160712]
> [cannot apply to v4.7-rc7 v4.7-rc6 v4.7-rc5 v4.7-rc7]
> [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/Suzuki-K-Poulose/coresight-Use-local-coresight_desc-instances/20160713-220832
> config: arm-allmodconfig (attached as .config)
> compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # save the attached .config to linux build tree
> make.cross ARCH=arm
>
> All errors (new ones prefixed by >>):
>
> drivers/hwtracing/coresight/coresight-replicator-qcom.c: In function 'replicator_probe':
>>> drivers/hwtracing/coresight/coresight-replicator-qcom.c:137:34: error: invalid type argument of unary '*' (have 'struct coresight_desc')
> desc = devm_kzalloc(dev, sizeof(*desc), GFP_KERNEL);
> ^
>>> drivers/hwtracing/coresight/coresight-replicator-qcom.c:138:6: error: wrong type argument to unary exclamation mark
> if (!desc)
> ^
>
> vim +137 drivers/hwtracing/coresight/coresight-replicator-qcom.c
>
> 620cf787 Pratik Patel 2015-05-19 131 return PTR_ERR(base);
> 620cf787 Pratik Patel 2015-05-19 132
> 620cf787 Pratik Patel 2015-05-19 133 drvdata->base = base;
> 620cf787 Pratik Patel 2015-05-19 134 dev_set_drvdata(dev, drvdata);
> 620cf787 Pratik Patel 2015-05-19 135 pm_runtime_put(&adev->dev);
> 620cf787 Pratik Patel 2015-05-19 136
> 620cf787 Pratik Patel 2015-05-19 @137 desc = devm_kzalloc(dev, sizeof(*desc), GFP_KERNEL);
> 620cf787 Pratik Patel 2015-05-19 @138 if (!desc)
> 620cf787 Pratik Patel 2015-05-19 139 return -ENOMEM;
> 620cf787 Pratik Patel 2015-05-19 140
> 93c12082 Suzuki K Poulose 2016-07-13 141 desc.type = CORESIGHT_DEV_TYPE_LINK;
ah, I didn't have the REPLICATOR_QCOM in my config, will fix this one. Thanks
for the report.
Suzuki
prev parent reply other threads:[~2016-07-13 16:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 13:59 Suzuki K Poulose
2016-07-13 16:21 ` kbuild test robot
2016-07-13 16:26 ` Suzuki K Poulose [this message]
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=ef39eb06-38eb-9ab8-64f4-683513a773cc@arm.com \
--to=suzuki.poulose@arm.com \
--cc=kbuild-all@01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=mathieu.poirier@linaro.org \
/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®