Skip to content

Commit

Permalink
[media] siano: bad parameter is -EINVAL and not -EFAULT
Browse files Browse the repository at this point in the history
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Jul 27, 2011
1 parent c55d6f8 commit d316b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/siano/smscoreapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d316b5f

Please sign in to comment.