Commit d316b5fb authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] siano: bad parameter is -EINVAL and not -EFAULT

parent c55d6f82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)