From: kernel test robot <lkp@intel.com>
To: Ryan Chen <ryan_chen@aspeedtech.com>,
Andrew Jeffery <andrew@codeconstruct.com.au>,
Ulf Hansson <ulf.hansson@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
Ryan Chen <ryanchen.aspeed@gmail.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: oe-kbuild-all@lists.linux.dev, linux-aspeed@lists.ozlabs.org,
openbmc@lists.ozlabs.org, linux-mmc@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] mmc: sdhci-of-aspeed: Add ast2700 support
Date: Sun, 15 Mar 2026 04:39:00 +0800 [thread overview]
Message-ID: <202603150439.FM8mt7EG-lkp@intel.com> (raw)
In-Reply-To: <20260313-sdhci-v1-2-91cea19c8a67@aspeedtech.com>
Hi Ryan,
kernel test robot noticed the following build errors:
[auto build test ERROR on 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f]
url: https://github.com/intel-lab-lkp/linux/commits/Ryan-Chen/dt-bindings-mmc-sdhci-of-aspeed-Add-ast2700-support/20260314-132323
base: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
patch link: https://lore.kernel.org/r/20260313-sdhci-v1-2-91cea19c8a67%40aspeedtech.com
patch subject: [PATCH 2/2] mmc: sdhci-of-aspeed: Add ast2700 support
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260315/202603150439.FM8mt7EG-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260315/202603150439.FM8mt7EG-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/202603150439.FM8mt7EG-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/mmc/host/sdhci-of-aspeed.c: In function 'aspeed_sdc_probe':
>> drivers/mmc/host/sdhci-of-aspeed.c:533:17: error: implicit declaration of function 'reset_control_get_optional_exclusive' [-Wimplicit-function-declaration]
533 | reset = reset_control_get_optional_exclusive(&pdev->dev, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/mmc/host/sdhci-of-aspeed.c:533:15: error: assignment to 'struct reset_control *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
533 | reset = reset_control_get_optional_exclusive(&pdev->dev, NULL);
| ^
>> drivers/mmc/host/sdhci-of-aspeed.c:537:15: error: implicit declaration of function 'reset_control_deassert' [-Wimplicit-function-declaration]
537 | ret = reset_control_deassert(sdc->rst);
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/mmc/host/sdhci-of-aspeed.c:537:41: error: 'struct aspeed_sdc' has no member named 'rst'
537 | ret = reset_control_deassert(sdc->rst);
| ^~
vim +/reset_control_get_optional_exclusive +533 drivers/mmc/host/sdhci-of-aspeed.c
520
521 {
522 struct device_node *parent, *child;
523 struct reset_control *reset;
524 struct aspeed_sdc *sdc;
525 int ret;
526
527 sdc = devm_kzalloc(&pdev->dev, sizeof(*sdc), GFP_KERNEL);
528 if (!sdc)
529 return -ENOMEM;
530
531 spin_lock_init(&sdc->lock);
532
> 533 reset = reset_control_get_optional_exclusive(&pdev->dev, NULL);
534 if (IS_ERR(reset))
535 return dev_err_probe(&pdev->dev, PTR_ERR(reset),
536 "unable to acquire reset\n");
> 537 ret = reset_control_deassert(sdc->rst);
538 if (ret)
539 return dev_err_probe(&pdev->dev, ret,
540 "reset deassert failed\n");
541
542 sdc->clk = devm_clk_get(&pdev->dev, NULL);
543 if (IS_ERR(sdc->clk))
544 return PTR_ERR(sdc->clk);
545
546 ret = clk_prepare_enable(sdc->clk);
547 if (ret) {
548 dev_err(&pdev->dev, "Unable to enable SDCLK\n");
549 return ret;
550 }
551
552 sdc->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &sdc->res);
553 if (IS_ERR(sdc->regs)) {
554 ret = PTR_ERR(sdc->regs);
555 goto err_clk;
556 }
557
558 dev_set_drvdata(&pdev->dev, sdc);
559
560 parent = pdev->dev.of_node;
561 for_each_available_child_of_node(parent, child) {
562 struct platform_device *cpdev;
563
564 cpdev = of_platform_device_create(child, NULL, &pdev->dev);
565 if (!cpdev) {
566 of_node_put(child);
567 ret = -ENODEV;
568 goto err_clk;
569 }
570 }
571
572 return 0;
573
574 err_clk:
575 clk_disable_unprepare(sdc->clk);
576 return ret;
577 }
578
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-03-14 20:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-13 5:27 [PATCH 0/2] Add AST2700 support for aspeed sdhci Ryan Chen
2026-03-13 5:27 ` [PATCH 1/2] dt-bindings: mmc: sdhci-of-aspeed : Add ast2700 support Ryan Chen
2026-03-14 10:23 ` Krzysztof Kozlowski
2026-03-16 1:59 ` Ryan Chen
2026-03-14 10:24 ` Krzysztof Kozlowski
2026-03-13 5:27 ` [PATCH 2/2] mmc: sdhci-of-aspeed: " Ryan Chen
2026-03-13 8:25 ` Philipp Zabel
2026-03-13 8:35 ` Ryan Chen
2026-03-14 1:21 ` Ryan Chen
2026-03-16 9:44 ` Philipp Zabel
2026-03-16 9:51 ` Ryan Chen
2026-03-14 10:23 ` Krzysztof Kozlowski
2026-03-16 5:51 ` Ryan Chen
2026-03-14 20:39 ` kernel test robot [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=202603150439.FM8mt7EG-lkp@intel.com \
--to=lkp@intel.com \
--cc=adrian.hunter@intel.com \
--cc=andrew@codeconstruct.com.au \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=openbmc@lists.ozlabs.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=ryan_chen@aspeedtech.com \
--cc=ryanchen.aspeed@gmail.com \
--cc=ulf.hansson@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