From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751498AbcGMQ0f (ORCPT ); Wed, 13 Jul 2016 12:26:35 -0400 Received: from foss.arm.com ([217.140.101.70]:37796 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750911AbcGMQ00 (ORCPT ); Wed, 13 Jul 2016 12:26:26 -0400 Subject: Re: [PATCH] coresight: Use local coresight_desc instances To: kbuild test robot References: <201607140048.yap01jMZ%fengguang.wu@intel.com> Cc: kbuild-all@01.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mathieu Poirier From: Suzuki K Poulose Message-ID: Date: Wed, 13 Jul 2016 17:26:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <201607140048.yap01jMZ%fengguang.wu@intel.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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