]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: dvb: fix compat ioctl translation
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Aug 2018 19:56:21 +0000 (15:56 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 12 Sep 2018 15:00:51 +0000 (11:00 -0400)
commit1ccbeeb888ac33627d91f1ccf0b84ef3bcadef24
tree2a6d42ea8c1012de47c980ba15ef129444fbc7c5
parentd9d94479911c11c65b00f6ffb193eec9c8b41721
media: dvb: fix compat ioctl translation

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: 6e87abd0b8cb ("[DVB]: Add compat ioctl handling.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
fs/compat_ioctl.c