Messages in this thread | | | From | Enric Balletbo i Serra <> | Subject | Re: [PATCH] platform/chrome: cros_ec_proto: Fix check_features ret val | Date | Thu, 30 Sep 2021 08:45:55 +0200 |
| |
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@collabora.com>
| |