Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1338752

Re: [PATCH] regulator: qcom-saw: avoid uninitialized variable warning

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] regulator: qcom-saw: avoid uninitialized variable warning
Date 2016-02-20 18:40 +0100
Message-ID <r4jFD-JJ-1@gated-at.bofh.it> (permalink)
References <r0VTd-6SY-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Feb 11, 2016 at 10:38:08AM +0100, Arnd Bergmann wrote:
> gcc cannot know that a for_each_possible_cpu() loop always executes
> at least once, so it warns about the use of the "found" variable
> in qcom_saw_regulator_probe:

I'm going to drop this driver so this won't be needed.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] regulator: qcom-saw: avoid uninitialized variable warning Arnd Bergmann <arnd@arndb.de> - 2016-02-11 10:40 +0100
  Re: [PATCH] regulator: qcom-saw: avoid uninitialized variable warning Mark Brown <broonie@kernel.org> - 2016-02-20 18:40 +0100

csiph-web