From: kbuild test robot <lkp@intel.com> To: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Cc: kbuild-all@01.org, broonie@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, lee.jones@linaro.org Subject: Re: [alsa-devel] [PATCH v2 6/8] regulator: arizona-micbias: Add regulator driver for Arizona micbiases Date: Wed, 29 Mar 2017 18:04:28 +0800 [thread overview] Message-ID: <201703291752.sYWa9mGj%fengguang.wu@intel.com> (raw) In-Reply-To: <1490710484-25277-6-git-send-email-ckeepax@opensource.wolfsonmicro.com> [-- Attachment #1: Type: text/plain, Size: 4678 bytes --] Hi Charles, [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.11-rc4 next-20170328] [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/Charles-Keepax/regulator-arizona-micsupp-Avoid-potential-memory-leak-reading-init_data/20170329-112224 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.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=ia64 All errors (new ones prefixed by >>): drivers//mfd/arizona-core.c: In function 'arizona_dev_init': >> drivers//mfd/arizona-core.c:1408:33: error: 'struct arizona_micbias' has no member named 'mV' if (!arizona->pdata.micbias[i].mV && ^ >> drivers//mfd/arizona-core.c:1409:33: error: 'struct arizona_micbias' has no member named 'bypass' !arizona->pdata.micbias[i].bypass) ^ drivers//mfd/arizona-core.c:1413:33: error: 'struct arizona_micbias' has no member named 'mV' if (!arizona->pdata.micbias[i].mV) ^ drivers//mfd/arizona-core.c:1414:29: error: 'struct arizona_micbias' has no member named 'mV' arizona->pdata.micbias[i].mV = 2800; ^ drivers//mfd/arizona-core.c:1416:35: error: 'struct arizona_micbias' has no member named 'mV' val = (arizona->pdata.micbias[i].mV - 1500) / 100; ^ >> drivers//mfd/arizona-core.c:1423:32: error: 'struct arizona_micbias' has no member named 'discharge' if (arizona->pdata.micbias[i].discharge) ^ >> drivers//mfd/arizona-core.c:1426:32: error: 'struct arizona_micbias' has no member named 'soft_start' if (arizona->pdata.micbias[i].soft_start) ^ drivers//mfd/arizona-core.c:1429:32: error: 'struct arizona_micbias' has no member named 'bypass' if (arizona->pdata.micbias[i].bypass) ^ vim +1408 drivers//mfd/arizona-core.c 3cc72986 Mark Brown 2012-06-19 1402 arizona->pdata.clk32k_src); 3cc72986 Mark Brown 2012-06-19 1403 ret = -EINVAL; 59db9691 Mark Brown 2012-07-09 1404 goto err_reset; 3cc72986 Mark Brown 2012-06-19 1405 } 3cc72986 Mark Brown 2012-06-19 1406 3d91f828 Mark Brown 2013-01-29 1407 for (i = 0; i < ARIZONA_MAX_MICBIAS; i++) { 544c7aad Mark Brown 2013-01-29 @1408 if (!arizona->pdata.micbias[i].mV && 544c7aad Mark Brown 2013-01-29 @1409 !arizona->pdata.micbias[i].bypass) 3d91f828 Mark Brown 2013-01-29 1410 continue; 3d91f828 Mark Brown 2013-01-29 1411 544c7aad Mark Brown 2013-01-29 1412 /* Apply default for bypass mode */ 544c7aad Mark Brown 2013-01-29 @1413 if (!arizona->pdata.micbias[i].mV) 544c7aad Mark Brown 2013-01-29 @1414 arizona->pdata.micbias[i].mV = 2800; 544c7aad Mark Brown 2013-01-29 1415 3d91f828 Mark Brown 2013-01-29 1416 val = (arizona->pdata.micbias[i].mV - 1500) / 100; 544c7aad Mark Brown 2013-01-29 1417 3d91f828 Mark Brown 2013-01-29 1418 val <<= ARIZONA_MICB1_LVL_SHIFT; 3d91f828 Mark Brown 2013-01-29 1419 3d91f828 Mark Brown 2013-01-29 1420 if (arizona->pdata.micbias[i].ext_cap) 3d91f828 Mark Brown 2013-01-29 1421 val |= ARIZONA_MICB1_EXT_CAP; 3d91f828 Mark Brown 2013-01-29 1422 3d91f828 Mark Brown 2013-01-29 @1423 if (arizona->pdata.micbias[i].discharge) 3d91f828 Mark Brown 2013-01-29 1424 val |= ARIZONA_MICB1_DISCH; 3d91f828 Mark Brown 2013-01-29 1425 f773fc6d Charles Keepax 2013-05-21 @1426 if (arizona->pdata.micbias[i].soft_start) 3d91f828 Mark Brown 2013-01-29 1427 val |= ARIZONA_MICB1_RATE; 3d91f828 Mark Brown 2013-01-29 1428 544c7aad Mark Brown 2013-01-29 1429 if (arizona->pdata.micbias[i].bypass) :::::: The code at line 1408 was first introduced by commit :::::: 544c7aadd7d4309ed01fcd787d393db67eb7eaea mfd: arizona: Support configuring MICBIASes into bypass mode :::::: TO: Mark Brown <broonie@opensource.wolfsonmicro.com> :::::: CC: Samuel Ortiz <sameo@linux.intel.com> --- 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: 46760 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> To: Charles Keepax <ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org> Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org, broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org, lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org Subject: Re: [alsa-devel] [PATCH v2 6/8] regulator: arizona-micbias: Add regulator driver for Arizona micbiases Date: Wed, 29 Mar 2017 18:04:28 +0800 [thread overview] Message-ID: <201703291752.sYWa9mGj%fengguang.wu@intel.com> (raw) In-Reply-To: <1490710484-25277-6-git-send-email-ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org> [-- Attachment #1: Type: text/plain, Size: 4735 bytes --] Hi Charles, [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.11-rc4 next-20170328] [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/Charles-Keepax/regulator-arizona-micsupp-Avoid-potential-memory-leak-reading-init_data/20170329-112224 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.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=ia64 All errors (new ones prefixed by >>): drivers//mfd/arizona-core.c: In function 'arizona_dev_init': >> drivers//mfd/arizona-core.c:1408:33: error: 'struct arizona_micbias' has no member named 'mV' if (!arizona->pdata.micbias[i].mV && ^ >> drivers//mfd/arizona-core.c:1409:33: error: 'struct arizona_micbias' has no member named 'bypass' !arizona->pdata.micbias[i].bypass) ^ drivers//mfd/arizona-core.c:1413:33: error: 'struct arizona_micbias' has no member named 'mV' if (!arizona->pdata.micbias[i].mV) ^ drivers//mfd/arizona-core.c:1414:29: error: 'struct arizona_micbias' has no member named 'mV' arizona->pdata.micbias[i].mV = 2800; ^ drivers//mfd/arizona-core.c:1416:35: error: 'struct arizona_micbias' has no member named 'mV' val = (arizona->pdata.micbias[i].mV - 1500) / 100; ^ >> drivers//mfd/arizona-core.c:1423:32: error: 'struct arizona_micbias' has no member named 'discharge' if (arizona->pdata.micbias[i].discharge) ^ >> drivers//mfd/arizona-core.c:1426:32: error: 'struct arizona_micbias' has no member named 'soft_start' if (arizona->pdata.micbias[i].soft_start) ^ drivers//mfd/arizona-core.c:1429:32: error: 'struct arizona_micbias' has no member named 'bypass' if (arizona->pdata.micbias[i].bypass) ^ vim +1408 drivers//mfd/arizona-core.c 3cc72986 Mark Brown 2012-06-19 1402 arizona->pdata.clk32k_src); 3cc72986 Mark Brown 2012-06-19 1403 ret = -EINVAL; 59db9691 Mark Brown 2012-07-09 1404 goto err_reset; 3cc72986 Mark Brown 2012-06-19 1405 } 3cc72986 Mark Brown 2012-06-19 1406 3d91f828 Mark Brown 2013-01-29 1407 for (i = 0; i < ARIZONA_MAX_MICBIAS; i++) { 544c7aad Mark Brown 2013-01-29 @1408 if (!arizona->pdata.micbias[i].mV && 544c7aad Mark Brown 2013-01-29 @1409 !arizona->pdata.micbias[i].bypass) 3d91f828 Mark Brown 2013-01-29 1410 continue; 3d91f828 Mark Brown 2013-01-29 1411 544c7aad Mark Brown 2013-01-29 1412 /* Apply default for bypass mode */ 544c7aad Mark Brown 2013-01-29 @1413 if (!arizona->pdata.micbias[i].mV) 544c7aad Mark Brown 2013-01-29 @1414 arizona->pdata.micbias[i].mV = 2800; 544c7aad Mark Brown 2013-01-29 1415 3d91f828 Mark Brown 2013-01-29 1416 val = (arizona->pdata.micbias[i].mV - 1500) / 100; 544c7aad Mark Brown 2013-01-29 1417 3d91f828 Mark Brown 2013-01-29 1418 val <<= ARIZONA_MICB1_LVL_SHIFT; 3d91f828 Mark Brown 2013-01-29 1419 3d91f828 Mark Brown 2013-01-29 1420 if (arizona->pdata.micbias[i].ext_cap) 3d91f828 Mark Brown 2013-01-29 1421 val |= ARIZONA_MICB1_EXT_CAP; 3d91f828 Mark Brown 2013-01-29 1422 3d91f828 Mark Brown 2013-01-29 @1423 if (arizona->pdata.micbias[i].discharge) 3d91f828 Mark Brown 2013-01-29 1424 val |= ARIZONA_MICB1_DISCH; 3d91f828 Mark Brown 2013-01-29 1425 f773fc6d Charles Keepax 2013-05-21 @1426 if (arizona->pdata.micbias[i].soft_start) 3d91f828 Mark Brown 2013-01-29 1427 val |= ARIZONA_MICB1_RATE; 3d91f828 Mark Brown 2013-01-29 1428 544c7aad Mark Brown 2013-01-29 1429 if (arizona->pdata.micbias[i].bypass) :::::: The code at line 1408 was first introduced by commit :::::: 544c7aadd7d4309ed01fcd787d393db67eb7eaea mfd: arizona: Support configuring MICBIASes into bypass mode :::::: TO: Mark Brown <broonie-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org> :::::: CC: Samuel Ortiz <sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.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: 46760 bytes --]
next prev parent reply other threads:[~2017-03-29 10:05 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-03-28 14:14 [PATCH v2 1/8] regulator: arizona-micsupp: Avoid potential memory leak reading init_data Charles Keepax 2017-03-28 14:14 ` Charles Keepax 2017-03-28 14:14 ` [PATCH v2 2/8] regulator: arizona-ldo1: " Charles Keepax 2017-03-28 14:14 ` Charles Keepax 2017-03-30 21:23 ` Applied "regulator: arizona-ldo1: Avoid potential memory leak reading init_data" to the regulator tree Mark Brown 2017-03-30 21:23 ` Mark Brown 2017-03-28 14:14 ` [PATCH v2 3/8] MAINTAINERS: Add missing regulator regex for Wolfson Arizona parts Charles Keepax 2017-03-28 14:14 ` Charles Keepax 2017-03-30 21:23 ` Applied "MAINTAINERS: Add missing regulator regex for Wolfson Arizona parts" to the regulator tree Mark Brown 2017-03-30 21:23 ` Mark Brown 2017-03-28 14:14 ` [PATCH v2 4/8] regulator: helpers: Add regmap set_soft_start helper Charles Keepax 2017-03-28 14:14 ` Charles Keepax 2017-04-06 18:55 ` Applied "regulator: helpers: Add regmap set_soft_start helper" to the regulator tree Mark Brown 2017-04-06 18:55 ` Mark Brown 2017-03-28 14:14 ` [PATCH v2 5/8] regulator: helpers: Add regmap set_pull_down helper Charles Keepax 2017-03-28 14:14 ` Charles Keepax 2017-04-06 18:55 ` Applied "regulator: helpers: Add regmap set_pull_down helper" to the regulator tree Mark Brown 2017-04-06 18:55 ` Mark Brown 2017-03-28 14:14 ` [PATCH v2 6/8] regulator: arizona-micbias: Add regulator driver for Arizona micbiases Charles Keepax 2017-03-28 14:14 ` Charles Keepax 2017-03-29 6:18 ` [alsa-devel] " kbuild test robot 2017-03-29 6:18 ` kbuild test robot 2017-03-29 8:30 ` Charles Keepax 2017-03-29 8:30 ` Charles Keepax 2017-03-29 10:04 ` kbuild test robot [this message] 2017-03-29 10:04 ` [alsa-devel] " kbuild test robot 2017-03-28 14:14 ` [PATCH v2 7/8] regulator: arizona-micbias: Add description of micbias binding Charles Keepax 2017-03-28 14:14 ` Charles Keepax 2017-03-28 14:14 ` [PATCH v2 8/8] ASoC: arizona: Add support for new micbias regulators Charles Keepax 2017-03-28 14:14 ` Charles Keepax 2017-03-30 21:23 ` Applied "regulator: arizona-micsupp: Avoid potential memory leak reading init_data" to the regulator tree Mark Brown 2017-03-30 21:23 ` 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=201703291752.sYWa9mGj%fengguang.wu@intel.com \ --to=lkp@intel.com \ --cc=alsa-devel@alsa-project.org \ --cc=broonie@kernel.org \ --cc=ckeepax@opensource.wolfsonmicro.com \ --cc=devicetree@vger.kernel.org \ --cc=kbuild-all@01.org \ --cc=lee.jones@linaro.org \ --cc=lgirdwood@gmail.com \ --cc=linux-kernel@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=patches@opensource.wolfsonmicro.com \ --cc=robh+dt@kernel.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: linkBe 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.