Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232225
b: refs/heads/master
c: cb26a24
h: refs/heads/master
i:
  232223: 6a39f10
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Jan 19, 2011
1 parent 164c29e commit 74bde72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 76f1ef427c0aab3d3c917b497562ea2cdaaae056
refs/heads/master: cb26a24ee9706473f31d34cc259f4dcf45cd0644
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/ttpci/av7110_ca.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ static int dvb_ca_ioctl(struct file *file, unsigned int cmd, void *parg)
{
ca_slot_info_t *info=(ca_slot_info_t *)parg;

if (info->num > 1)
if (info->num < 0 || info->num > 1)
return -EINVAL;
av7110->ci_slot[info->num].num = info->num;
av7110->ci_slot[info->num].type = FW_CI_LL_SUPPORT(av7110->arm_app) ?
Expand Down

0 comments on commit 74bde72

Please sign in to comment.