[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180417171358.GJ8973@sirena.org.uk>
Date: Tue, 17 Apr 2018 18:13:58 +0100
From: Mark Brown <broonie@...nel.org>
To: Douglas Anderson <dianders@...omium.org>
Cc: David Collins <collinsd@...eaurora.org>, evgreen@...omium.org,
swboyd@...omium.org,
Javier Martinez Canillas <javier@...hile0.org>,
linux-kernel@...r.kernel.org, Liam Girdwood <lgirdwood@...il.com>,
Tony Lindgren <tony@...mide.com>, linux-omap@...r.kernel.org
Subject: Re: [PATCH] regulator: Fix return type of of_map_mode()
On Tue, Apr 17, 2018 at 10:12:04AM -0700, Douglas Anderson wrote:
> In of_get_regulation_constraints() it can clearly be seen that the
> return value of of_map_mode() is assigned to a signed integer. This
> is important because the first thing the regulator core does with this
> value is to compare it to -EINVAL.
Hrm, so how does the compiler manage to not warn about this?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists