aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-03-29 07:47:04 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:45:13 -0400
commit66623a0419da2bae2efab40a46018faacce2e3aa (patch)
tree63794f2a1282e466ded2ace2315e623a25e8ad03 /drivers/media/video/cx88/cx88-video.c
parent53c4e9551c2930767fcdaa54323616c32ed6e9c6 (diff)
V4L/DVB (5480): Fix cx88_print_irqbits calls to use ARRAY_SIZE
cx88_print_irqbits were expecting a string pointer with 32 bytes. Better to pass the string size and use ARRAY_SIZE on its calls. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-video.c')
-rw-r--r--drivers/media/video/cx88/cx88-video.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index bdfe2af7012..5ae5c02644e 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -1555,7 +1555,8 @@ static void cx8800_vid_irq(struct cx8800_dev *dev)
1555 cx_write(MO_VID_INTSTAT, status); 1555 cx_write(MO_VID_INTSTAT, status);
1556 if (irq_debug || (status & mask & ~0xff)) 1556 if (irq_debug || (status & mask & ~0xff))
1557 cx88_print_irqbits(core->name, "irq vid", 1557 cx88_print_irqbits(core->name, "irq vid",
1558 cx88_vid_irqs, status, mask); 1558 cx88_vid_irqs, ARRAY_SIZE(cx88_vid_irqs),
1559 status, mask);
1559 1560
1560 /* risc op code error */ 1561 /* risc op code error */
1561 if (status & (1 << 16)) { 1562 if (status & (1 << 16)) {