[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1153013464.4755.35.camel@praia>
Date: Sat, 15 Jul 2006 22:31:04 -0300
From: Mauro Carvalho Chehab <mchehab@...radead.org>
To: Robert Fitzsimons <robfitz@...k.net>
Cc: Andrew Morton <akpm@...l.org>,
"Randy.Dunlap" <rdunlap@...otime.net>, greg@...ah.com,
76306.1226@...puserve.com, fork0@...nline.de,
linux-kernel@...r.kernel.org, shemminger@...l.org,
video4linux-list@...hat.com, v4l-dvb-maintainer@...uxtv.org
Subject: Re: [PATCH] V4L: struct video_device corruption
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.
Cheers,
Mauro.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists