summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-06 12:55:29 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:53:36 -0300
commitd316b5fba37621a70893af56968ed899b1179a63 (patch)
tree839843fb075a7d4cfba02fe92e6b14d76d67abd9
parentc55d6f8270cab805983aba8cdf1d1980167d3517 (diff)
downloadlinux-stable-d316b5fba37621a70893af56968ed899b1179a63.tar.gz
linux-stable-d316b5fba37621a70893af56968ed899b1179a63.tar.bz2
linux-stable-d316b5fba37621a70893af56968ed899b1179a63.zip
[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.c2
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)