Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61371
b: refs/heads/master
c: ba2cf98
h: refs/heads/master
i:
  61369: f36dde6
  61367: 0682f28
v: v3
  • Loading branch information
Trent Piepho authored and Mauro Carvalho Chehab committed Jul 18, 2007
1 parent 89fbb24 commit 1262c4b
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: 59800555f79a52394c3c29e19e448b4635daf14c
refs/heads/master: ba2cf98249795f03792d1409a3b6aaa589ea0745
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/stradis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ static int saa_ioctl(struct inode *inode, struct file *file,
u32 format;
if (copy_from_user(&p, arg, sizeof(p)))
return -EFAULT;
if (p.palette < sizeof(palette2fmt) / sizeof(u32)) {
if (p.palette < ARRAY_SIZE(palette2fmt)) {
format = palette2fmt[p.palette];
saa->win.color_fmt = format;
saawrite(format | 0x60,
Expand Down

0 comments on commit 1262c4b

Please sign in to comment.