[PATCH] Staging: vc04_services: Fix a couple error codes

Stefan Wahren stefan.wahren at i2se.com
Mon May 13 11:17:14 UTC 2019

On 13.05.19 13:07, Dan Carpenter wrote:
> These are accidentally returning positive EINVAL instead of negative
> -EINVAL.  Some of the callers treat positive values as success.
> Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Good catch

Acked-by: Stefan Wahren <stefan.wahren at i2se.com>

More information about the devel mailing list