• Arnd Bergmann's avatar
    media: dvb: fix compat ioctl translation · 1ccbeeb8
    Arnd Bergmann authored
    The VIDEO_GET_EVENT and VIDEO_STILLPICTURE was added back in 2005 but
    it never worked because the command number is wrong.
    
    Using the right command number means we have a better chance of them
    actually doing the right thing, though clearly nobody has ever tried
    it successfully.
    
    I noticed these while auditing the remaining users of compat_time_t
    for y2038 bugs. This one is fine in that regard, it just never did
    anything.
    
    Fixes: 6e87abd0 ("[DVB]: Add compat ioctl handling.")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
    1ccbeeb8
compat_ioctl.c 41.3 KB