lkml.org 
[lkml]   [2006]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] V4L: struct video_device corruption
    From
    Date
    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-16 22:27    [W:0.020 / U:1.704 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site