[media] siano: bad parameter is -EINVAL and not -EFAULT
Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
c55d6f8270
commit
d316b5fba3
|
@ -1147,7 +1147,7 @@ static int smscore_validate_client(struct smscore_device_t *coredev,
|
|||
|
||||
if (!client) {
|
||||
sms_err("bad parameter.");
|
||||
return -EFAULT;
|
||||
return -EINVAL;
|
||||
}
|
||||
registered_client = smscore_find_client(coredev, data_type, id);
|
||||
if (registered_client == client)
|
||||
|
|
Loading…
Reference in New Issue