ject: [patch] rapidio: mport_cdev: fix some error codes
>
> copy_to_user() returns the number of bytes not copied but we want to
> return an error code.
>
> Fixes: a45bfc36bf0d ('rapidio: add mport char device driver')
> Signed-off-by: Dan Carpenter
>
> di
copy_to_user() returns the number of bytes not copied but we want to
return an error code.
Fixes: a45bfc36bf0d ('rapidio: add mport char device driver')
Signed-off-by: Dan Carpenter
diff --git a/drivers/rapidio/devices/rio_mport_cdev.c
b/drivers/rapidio/devices/rio_mport_cdev.c
index 6d56725..a
2 matches
Mail list logo