From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Krzysztof Kozlowski <krzk@kernel•org>
Cc: Dmitry Osipenko <digetx@gmail•com>,
Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
Linux Next Mailing List <linux-next@vger•kernel.org>
Subject: linux-next: build failure after merge of the drivers-memory tree
Date: Mon, 9 Nov 2020 10:23:00 +1100 [thread overview]
Message-ID: <20201109102300.539961bb@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 1321 bytes --]
Hi all,
After merging the drivers-memory tree, today's linux-next build (x86_64
allmodconfig) failed like this:
In file included from drivers/devfreq/tegra20-devfreq.c:18:
include/soc/tegra/mc.h: In function 'devm_tegra_memory_controller_get':
include/soc/tegra/mc.h:211:1: error: no return statement in function returning non-void [-Werror=return-type]
211 | }
| ^
Caused by commit
1f1997eb44b1 ("memory: tegra: Add and use devm_tegra_memory_controller_get()")
I have added the following fix patch for today:
From: Stephen Rothwell <sfr@canb•auug.org.au>
Date: Mon, 9 Nov 2020 10:19:44 +1100
Subject: [PATCH] fix "memory: tegra: Add and use
devm_tegra_memory_controller_get()"
Signed-off-by: Stephen Rothwell <sfr@canb•auug.org.au>
---
include/soc/tegra/mc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/soc/tegra/mc.h b/include/soc/tegra/mc.h
index 43876216de34..d731407e23bb 100644
--- a/include/soc/tegra/mc.h
+++ b/include/soc/tegra/mc.h
@@ -207,7 +207,7 @@ struct tegra_mc *devm_tegra_memory_controller_get(struct device *dev);
static inline struct tegra_mc *
devm_tegra_memory_controller_get(struct device *dev)
{
- ERR_PTR(-ENODEV);
+ return ERR_PTR(-ENODEV);
}
#endif
--
2.28.0
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2020-11-08 23:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-08 23:23 Stephen Rothwell [this message]
2020-11-09 1:01 ` linux-next: build failure after merge of the drivers-memory tree Dmitry Osipenko
2020-11-09 8:04 ` Krzysztof Kozlowski
-- strict thread matches above, loose matches on Subject: below --
2020-07-27 11:36 Stephen Rothwell
2020-07-27 11:49 ` Krzysztof Kozlowski
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=20201109102300.539961bb@canb.auug.org.au \
--to=sfr@canb$(echo .)auug.org.au \
--cc=digetx@gmail$(echo .)com \
--cc=krzk@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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