From: swarren@wwwdotorg.org (Stephen Warren)
To: linux-arm-kernel@lists.infradead.org
Subject: Regulator API ignored return values
Date: Mon, 11 Mar 2013 14:48:18 -0600 [thread overview]
Message-ID: <513E4312.5060804@wwwdotorg.org> (raw)
In-Reply-To: <201303112043.53334.arnd@arndb.de>
On 03/11/2013 02:43 PM, Arnd Bergmann wrote:
> Hi all,
>
> Mark Brown has added a patch to Linux-next that warns about certain regulator
> API functions being called without checking the results, which seems to have
> uncovered a number of bugs.
>
> I've added a few people to Cc that might be interested in the reports and
> in fixing these bugs. Below you can find a list of all instances I found
> building the ARM defconfigs.
> ==> build/tegra_defconfig/faillog <==
> /git/arm-soc/arch/arm/mach-tegra/board-harmony-pcie.c: In function 'harmony_pcie_init':
> /git/arm-soc/arch/arm/mach-tegra/board-harmony-pcie.c:65:18: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
This one should be fixed by 84b808d "ARM: tegra: fix ignored return
value of regulator_enable" the next time next is rebuilt.
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Warren <swarren@wwwdotorg.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Linus Walleij <linus.walleij@linaro.org>,
Chris Ball <cjb@laptop.org>, Axel Lin <axel.lin@ingics.com>,
Jingoo Han <jg1.han@samsung.com>, Felipe Balbi <balbi@ti.com>,
Dmitry Torokhov <dtor@mail.ru>
Subject: Re: Regulator API ignored return values
Date: Mon, 11 Mar 2013 14:48:18 -0600 [thread overview]
Message-ID: <513E4312.5060804@wwwdotorg.org> (raw)
In-Reply-To: <201303112043.53334.arnd@arndb.de>
On 03/11/2013 02:43 PM, Arnd Bergmann wrote:
> Hi all,
>
> Mark Brown has added a patch to Linux-next that warns about certain regulator
> API functions being called without checking the results, which seems to have
> uncovered a number of bugs.
>
> I've added a few people to Cc that might be interested in the reports and
> in fixing these bugs. Below you can find a list of all instances I found
> building the ARM defconfigs.
> ==> build/tegra_defconfig/faillog <==
> /git/arm-soc/arch/arm/mach-tegra/board-harmony-pcie.c: In function 'harmony_pcie_init':
> /git/arm-soc/arch/arm/mach-tegra/board-harmony-pcie.c:65:18: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
This one should be fixed by 84b808d "ARM: tegra: fix ignored return
value of regulator_enable" the next time next is rebuilt.
next prev parent reply other threads:[~2013-03-11 20:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-11 20:43 Regulator API ignored return values Arnd Bergmann
2013-03-11 20:43 ` Arnd Bergmann
2013-03-11 20:48 ` Stephen Warren [this message]
2013-03-11 20:48 ` Stephen Warren
2013-03-11 21:55 ` Chris Ball
2013-03-11 21:55 ` Chris Ball
2013-03-12 18:22 ` Mark Brown
2013-03-12 18:22 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2013-03-12 5:11 Jingoo Han
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=513E4312.5060804@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.