From: kernel test robot <lkp@intel.com>
To: Jan Dakinevich <jan.dakinevich@salutedevices.com>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, Jerome Brunet <jbrunet@baylibre.com>,
Kevin Hilman <khilman@baylibre.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Michael Turquette <mturquette@baylibre.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Rob Herring <robh@kernel.org>, Stephen Boyd <sboyd@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v6 3/4] clk: meson: a1: add the audio clock controller driver
Date: Tue, 11 Mar 2025 01:10:10 +0800 [thread overview]
Message-ID: <202503110016.L1KdYGVj-lkp@intel.com> (raw)
In-Reply-To: <20250309180940.1322531-4-jan.dakinevich@salutedevices.com>
Hi Jan,
kernel test robot noticed the following build errors:
[auto build test ERROR on clk/clk-next]
[also build test ERROR on robh/for-next krzk/for-next krzk-dt/for-next linus/master v6.14-rc6 next-20250307]
[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/Jan-Dakinevich/clk-meson-axg-share-the-set-of-audio-helper-macros/20250310-022012
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
patch link: https://lore.kernel.org/r/20250309180940.1322531-4-jan.dakinevich%40salutedevices.com
patch subject: [PATCH v6 3/4] clk: meson: a1: add the audio clock controller driver
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20250311/202503110016.L1KdYGVj-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250311/202503110016.L1KdYGVj-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/202503110016.L1KdYGVj-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/clk/meson/a1-audio.c:807:11: error: call to undeclared function '__devm_auxiliary_device_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
807 | auxdev = __devm_auxiliary_device_create(dev, dev->driver->name,
| ^
drivers/clk/meson/a1-audio.c:807:11: note: did you mean '__auxiliary_device_add'?
include/linux/auxiliary_bus.h:221:5: note: '__auxiliary_device_add' declared here
221 | int __auxiliary_device_add(struct auxiliary_device *auxdev, const char *modname);
| ^
>> drivers/clk/meson/a1-audio.c:807:9: error: incompatible integer to pointer conversion assigning to 'struct auxiliary_device *' from 'int' [-Wint-conversion]
807 | auxdev = __devm_auxiliary_device_create(dev, dev->driver->name,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
808 | data->rst_drvname, NULL, 0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
vim +/__devm_auxiliary_device_create +807 drivers/clk/meson/a1-audio.c
748
749 static int a1_audio_clkc_probe(struct platform_device *pdev)
750 {
751 struct device *dev = &pdev->dev;
752 const struct a1_audio_data *data;
753 struct auxiliary_device *auxdev;
754 struct regmap *map;
755 void __iomem *base;
756 struct clk *clk;
757 unsigned int i;
758 int ret;
759
760 data = device_get_match_data(dev);
761 if (!data)
762 return -EINVAL;
763
764 clk = devm_clk_get_enabled(dev, "pclk");
765 if (IS_ERR(clk))
766 return PTR_ERR(clk);
767
768 base = devm_platform_ioremap_resource(pdev, 0);
769 if (IS_ERR(base))
770 return PTR_ERR(base);
771
772 map = devm_regmap_init_mmio(dev, base, &a1_audio_regmap_cfg);
773 if (IS_ERR(map))
774 return PTR_ERR(map);
775
776 ret = device_reset(dev);
777 if (ret)
778 return ret;
779
780 for (i = 0; i < data->hw_clks.num; i++) {
781 struct clk_hw *hw = data->hw_clks.hws[i];
782 struct clk_regmap *clk_regmap = to_clk_regmap(hw);
783
784 if (!hw)
785 continue;
786
787 clk_regmap->map = map;
788 }
789
790 for (i = 0; i < data->hw_clks.num; i++) {
791 struct clk_hw *hw;
792
793 hw = data->hw_clks.hws[i];
794 if (!hw)
795 continue;
796
797 ret = devm_clk_hw_register(dev, hw);
798 if (ret)
799 return ret;
800 }
801
802 ret = devm_of_clk_add_hw_provider(dev, meson_clk_hw_get,
803 (void *)&data->hw_clks);
804 if (ret)
805 return ret;
806
> 807 auxdev = __devm_auxiliary_device_create(dev, dev->driver->name,
808 data->rst_drvname, NULL, 0);
809 if (!auxdev)
810 return -ENODEV;
811
812 return 0;
813 }
814
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-10 17:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-09 18:09 [PATCH v6 0/4] Add A1 Soc audio clock controller driver Jan Dakinevich
2025-03-09 18:09 ` [PATCH v6 1/4] clk: meson: axg: share the set of audio helper macros Jan Dakinevich
2025-03-09 18:09 ` [PATCH v6 2/4] dt-bindings: clock: axg-audio: document A1 SoC audio clock controller driver Jan Dakinevich
2025-03-11 8:16 ` Krzysztof Kozlowski
2025-03-09 18:09 ` [PATCH v6 3/4] clk: meson: a1: add the " Jan Dakinevich
2025-03-10 17:10 ` kernel test robot [this message]
2025-03-13 0:19 ` kernel test robot
2025-03-09 18:09 ` [PATCH v6 4/4] arm64: dts: meson: a1: add the audio clock controller Jan Dakinevich
-- strict thread matches above, loose matches on Subject: below --
2025-03-09 17:58 [PATCH v6 1/4] clk: meson: axg: share the set of audio helper macros Jan Dakinevich
2025-03-09 17:58 ` [PATCH v6 3/4] clk: meson: a1: add the audio clock controller driver Jan Dakinevich
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=202503110016.L1KdYGVj-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jan.dakinevich@salutedevices.com \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzk@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=martin.blumenstingl@googlemail.com \
--cc=mturquette@baylibre.com \
--cc=neil.armstrong@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sboyd@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: 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;
as well as URLs for NNTP newsgroup(s).