kernel_optimize_test/drivers/media/dvb/bt8xx
Akinobu Mita 66ab6e023e V4L/DVB (5513): Bt878: prevent probing wrong card entry
I got strange message when I did modprobe bt878:
bt878_probe: card id=[0x0],[ <NULL> ] has DVB functions.
The card_list array is terminated by sentinel entry.
But this list is traversed by:
for (i = 0, dvb_cards = card_list; i < ARRAY_SIZE(card_list);
     i++, dvb_cards++) {
...
}
in bt878_probe().
So this loop checks dummy sentinel entry, too.
This patch removes unnecessary sentinel entry.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-27 15:45:39 -03:00
..
bt878.c V4L/DVB (5513): Bt878: prevent probing wrong card entry 2007-04-27 15:45:39 -03:00
bt878.h V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
dst_ca.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
dst_ca.h [PATCH] dvb: DST: reorganize Twinhan DST driver to support CI 2005-05-17 07:59:33 -07:00
dst_common.h V4L/DVB (4432): Fix Circular dependencies 2006-09-26 11:53:37 -03:00
dst_priv.h [PATCH] dvb: DST: reorganize Twinhan DST driver to support CI 2005-05-17 07:59:33 -07:00
dst.c V4L/DVB (5202): DVB: Use ARRAY_SIZE macro when appropriate 2007-02-21 13:35:18 -02:00
dvb-bt8xx.c V4L/DVB (5363): Dvb: Remove lgh06xf driver 2007-04-27 15:44:05 -03:00
dvb-bt8xx.h V4L/DVB (5363): Dvb: Remove lgh06xf driver 2007-04-27 15:44:05 -03:00
Kconfig V4L/DVB (5363): Dvb: Remove lgh06xf driver 2007-04-27 15:44:05 -03:00
Makefile V4L/DVB (3543): Fix Makefile to adapt to bt8xx/ conversion 2006-03-24 16:26:50 -03:00