[PATCH] cros_ec: Fix an error code is cros_ec_get_sku_id()
Tom Rini
trini at konsulko.com
Wed Aug 9 03:40:00 CEST 2023
On Wed, Jul 26, 2023 at 09:58:34AM +0300, Dan Carpenter wrote:
> The ec_command_inptr() function returns negative error codes or
> the number of bytes that it was able to read. The cros_ec_get_sku_id()
> function should return negative error codes. Right now it returns
> positive error codes or negative byte counts.
>
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230808/4c957f4d/attachment.sig>
More information about the U-Boot
mailing list