From: kernel test robot <lkp@intel.com>
To: Zhang Yi <zhangyi@everest-semi.com>,
broonie@kernel.org, robh@kernel.org, tiwai@suse.com,
devicetree@vger.kernel.org, conor+dt@kernel.org,
lgirdwood@gmail.com, linux-kernel@vger.kernel.org,
linux-sound@vger.kernel.org, perex@perex.cz, krzk+dt@kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
amadeuszx.slawinski@linux.intel.com, krzk@kernel.org,
Zhang Yi <zhangyi@everest-semi.com>
Subject: Re: [PATCH 2/2] ASoC: codecs: add support for ES8375
Date: Thu, 22 May 2025 15:36:02 +0800 [thread overview]
Message-ID: <202505221528.nvWwf9kj-lkp@intel.com> (raw)
In-Reply-To: <20250521104247.6595-3-zhangyi@everest-semi.com>
Hi Zhang,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on next-20250521]
[cannot apply to tiwai-sound/for-next tiwai-sound/for-linus linus/master v6.15-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Zhang-Yi/ASoC-dt-bindings-Add-Everest-ES8375-audio-CODEC/20250521-184427
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20250521104247.6595-3-zhangyi%40everest-semi.com
patch subject: [PATCH 2/2] ASoC: codecs: add support for ES8375
config: x86_64-buildonly-randconfig-001-20250522 (https://download.01.org/0day-ci/archive/20250522/202505221528.nvWwf9kj-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250522/202505221528.nvWwf9kj-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505221528.nvWwf9kj-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/codecs/es8375.c:706:7: error: use of undeclared identifier 'i'
706 | for (i = 0; i < ARRAY_SIZE(es8375_core_supplies); i++)
| ^
sound/soc/codecs/es8375.c:706:14: error: use of undeclared identifier 'i'
706 | for (i = 0; i < ARRAY_SIZE(es8375_core_supplies); i++)
| ^
sound/soc/codecs/es8375.c:706:52: error: use of undeclared identifier 'i'
706 | for (i = 0; i < ARRAY_SIZE(es8375_core_supplies); i++)
| ^
sound/soc/codecs/es8375.c:707:23: error: use of undeclared identifier 'i'
707 | es8375->core_supply[i].supply = es8375_core_supplies[i];
| ^
sound/soc/codecs/es8375.c:707:56: error: use of undeclared identifier 'i'
707 | es8375->core_supply[i].supply = es8375_core_supplies[i];
| ^
5 errors generated.
vim +/i +706 sound/soc/codecs/es8375.c
691
692 static int es8375_read_device_properities(struct device *dev, struct es8375_priv *es8375)
693 {
694 int ret;
695
696 ret = device_property_read_u8(dev, "everest,mclk-src", &es8375->mclk_src);
697 if (ret != 0)
698 es8375->mclk_src = ES8375_MCLK_SOURCE;
699 dev_dbg(dev, "mclk-src %x", es8375->mclk_src);
700
701 ret = device_property_read_u8(dev, "everest,dmic-pol", &es8375->dmic_pol);
702 if (ret != 0)
703 es8375->dmic_pol = DMIC_POL;
704 dev_dbg(dev, "dmic-pol %x", es8375->dmic_pol);
705
> 706 for (i = 0; i < ARRAY_SIZE(es8375_core_supplies); i++)
707 es8375->core_supply[i].supply = es8375_core_supplies[i];
708 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(es8375_core_supplies), es8375->core_supply);
709 if (ret) {
710 dev_err(dev, "Failed to request core supplies %d\n", ret);
711 return ret;
712 }
713
714 es8375->mclk = devm_clk_get(dev, "mclk");
715 if (IS_ERR(es8375->mclk))
716 return dev_err_probe(dev, PTR_ERR(es8375->mclk), "unable to get mclk\n");
717
718 if (!es8375->mclk)
719 dev_warn(dev, "assuming static mclk\n");
720
721 ret = clk_prepare_enable(es8375->mclk);
722 if (ret) {
723 dev_err(dev, "unable to enable mclk\n");
724 return ret;
725 }
726 ret = regulator_bulk_enable(ARRAY_SIZE(es8375_core_supplies), es8375->core_supply);
727 if (ret) {
728 dev_err(dev, "Failed to enable core supplies: %d\n", ret);
729 clk_disable_unprepare(es8375->mclk);
730 return ret;
731 }
732
733 return 0;
734 }
735
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2025-05-22 7:36 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20250521104247.6595-3-zhangyi@everest-semi.com>]
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=202505221528.nvWwf9kj-lkp@intel.com \
--to=lkp@intel.com \
--cc=amadeuszx.slawinski@linux.intel.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=perex@perex.cz \
--cc=robh@kernel.org \
--cc=tiwai@suse.com \
--cc=zhangyi@everest-semi.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