[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163298432635.3251747.6538622508689471214.b4-ty@collabora.com>
Date: Thu, 30 Sep 2021 08:45:55 +0200
From: Enric Balletbo i Serra <enric.balletbo@...labora.com>
To: Prashant Malani <pmalani@...omium.org>,
linux-kernel@...r.kernel.org
Cc: Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>
Subject: Re: [PATCH] platform/chrome: cros_ec_proto: Fix check_features ret val
On Wed, 15 Sep 2021 18:46:27 -0700, Prashant Malani wrote:
> The kerneldoc for cros_ec_check_features() states that it returns 1 or 0
> depedending on whether a feature is supported or not, but it instead
> returns a negative error number in one case, and a non-1 bitmask in
> other cases.
>
> Since all call-sites only check for a 1 or 0 return value, update
> the function to return boolean values.
Applied, thanks!
[1/1] platform/chrome: cros_ec_proto: Fix check_features ret val
commit: d50497c4a05e73e76874fd0d4942036375a7ec0f
Best regards,
--
Enric Balletbo i Serra <enric.balletbo@...labora.com>
Powered by blists - more mailing lists