Re: [v4l-dvb-maintainer] Re: [PATCH] V4L: struct video_device corruption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:
On Sat, 15 Jul 2006 22:31:04 -0300
Mauro Carvalho Chehab <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux