diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-06 19:55:29 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-28 00:53:36 +0400 |
commit | d316b5fba37621a70893af56968ed899b1179a63 (patch) | |
tree | 839843fb075a7d4cfba02fe92e6b14d76d67abd9 | |
parent | c55d6f8270cab805983aba8cdf1d1980167d3517 (diff) | |
download | linux-d316b5fba37621a70893af56968ed899b1179a63.tar.xz |
[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>
-rw-r--r-- | drivers/media/dvb/siano/smscoreapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/siano/smscoreapi.c b/drivers/media/dvb/siano/smscoreapi.c index 78765ed28063..7331e8450d1a 100644 --- a/drivers/media/dvb/siano/smscoreapi.c +++ b/drivers/media/dvb/siano/smscoreapi.c @@ -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) |