From: Maxime Ripard <maxime@cerno.tech>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Chen-Yu Tsai <wens@csie.org>,
Samuel Holland <samuel@sholland.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build failure after merge of the sunxi tree
Date: Tue, 23 Nov 2021 10:31:09 +0100 [thread overview]
Message-ID: <20211123093109.ikenoaxyfbj3b53s@gilmour> (raw)
In-Reply-To: <20211123102717.1c3b086f@canb.auug.org.au>
[-- Attachment #1: Type: text/plain, Size: 2693 bytes --]
Hi,
On Tue, Nov 23, 2021 at 10:27:17AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sunxi tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c: In function 'suniv_f1c100s_ccu_setup':
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:532:39: error: 'pdev' undeclared (first use in this function)
> 532 | reg = devm_platform_ioremap_resource(pdev, 0);
> | ^~~~
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:532:39: note: each undeclared identifier is reported only once for each function it appears in
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:534:10: error: 'return' with a value, in function returning void [-Werror=return-type]
> 534 | return PTR_ERR(reg);
> | ^~~~~~~~~~~~
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:526:20: note: declared here
> 526 | static void __init suniv_f1c100s_ccu_setup(struct device_node *node)
> | ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:543:10: error: 'return' with a value, in function returning void [-Werror=return-type]
> 543 | return ret;
> | ^~~
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:526:20: note: declared here
> 526 | static void __init suniv_f1c100s_ccu_setup(struct device_node *node)
> | ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:552:9: error: 'return' with a value, in function returning void [-Werror=return-type]
> 552 | return 0;
> | ^
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:526:20: note: declared here
> 526 | static void __init suniv_f1c100s_ccu_setup(struct device_node *node)
> | ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c: At top level:
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:561:11: error: 'suniv_f1c100s_ccu_probe' undeclared here (not in a function); did you mean 'suniv_f1c100s_ccu_driver'?
> 561 | .probe = suniv_f1c100s_ccu_probe,
> | ^~~~~~~~~~~~~~~~~~~~~~~
> | suniv_f1c100s_ccu_driver
> drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c:526:20: error: 'suniv_f1c100s_ccu_setup' defined but not used [-Werror=unused-function]
> 526 | static void __init suniv_f1c100s_ccu_setup(struct device_node *node)
> | ^~~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 72dc8e122383 ("clk: sunxi-ng: Convert early providers to platform drivers")
>
> I have used the sunxi tree from next-20211118 for today.
I fixed it and pushed to the sunxi tree, it should be good tomorrow
Thanks!
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2021-11-23 9:31 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-22 23:27 linux-next: build failure after merge of the sunxi tree Stephen Rothwell
2021-11-23 9:31 ` Maxime Ripard [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-10-26 23:42 Stephen Rothwell
2020-10-27 15:28 ` Maxime Ripard
2020-01-06 22:20 Stephen Rothwell
2020-01-06 22:27 ` Maxime Ripard
2018-06-27 22:42 Stephen Rothwell
2018-03-07 22:35 Stephen Rothwell
2018-03-08 2:37 ` Emmanuel Vadot
2018-03-08 3:19 ` Chen-Yu Tsai
2017-10-31 20:43 Stephen Rothwell
2017-11-01 7:57 ` Corentin Labbe
2017-03-07 0:10 Stephen Rothwell
2017-03-07 21:39 ` Maxime Ripard
2017-03-08 8:26 ` Jani Nikula
2017-03-08 9:49 ` Daniel Vetter
2016-10-25 0:26 Stephen Rothwell
2016-10-25 10:41 ` Maxime Ripard
2016-02-04 23:14 Stephen Rothwell
2016-02-05 9:10 ` Maxime Ripard
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=20211123093109.ikenoaxyfbj3b53s@gilmour \
--to=maxime@cerno.tech \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=samuel@sholland.org \
--cc=sfr@canb.auug.org.au \
--cc=wens@csie.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).