Re: [v4l-dvb-maintainer] Re: [PATCH] V4L: struct video_device corruption
From: Manu Abraham
Date: Tue Jul 25 2006 - 03:55:16 EST
Andrew Morton wrote:
On Sat, 15 Jul 2006 22:31:04 -0300
Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> wrote:
Em Sáb, 2006-07-15 às 23:08 +0000, Robert Fitzsimons escreveu:
The layout of struct video_device would change depending on whether
videodev.h (V4L1) was include or not before v4l2-dev.h, which caused
the structure to get corrupted.
Hmm... good point! However, I the proper solution would be to trust on
CONFIG_VIDEO_V4L1_COMPAT or CONFIG_VIDEO_V4L1 instead. it makes no sense
to keep a pointer to an unsupported callback, when V4L1 is not selected.
So I've lost the plot with all of this. Does the current git-dvb contain
the desired fixes?
Do we expect this will fix the various DVB crashes which people (including
Alex) have reported?
I believe you are referring to the "oops in bttv" thread.
As i understood, the case that Alex reported in was a null pointer issue
due to which modprobe bttv crashes, rather than a DVB issue.
Call Trace:
[<c018763c>] sysfs_create_file+0x26/0x28
[<c0220cc3>] class_device_create_file+0x14/0x1a
[<f9bc3073>] bttv_register_video+0x8c/0x147 [bttv]
[<f9bc35de>] bttv_probe+0x4ab/0x593 [bttv]
Therefore the V4L fixes should probably fix the same as well.
Regards,
Manu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/