]> git.baikalelectronics.ru Git - kernel.git/commit
pktcdvd: fix regression on 64-bit architectures
authorArnd Bergmann <arnd@arndb.de>
Mon, 9 Dec 2019 15:37:24 +0000 (16:37 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 21 Dec 2019 14:25:50 +0000 (07:25 -0700)
commitfba1358751f9c2a9c0917205d7991c00a2ae154b
treebf83936b058aed309d37fb1655a342bd0bc5fedd
parent2915a59c265fab7047d682e537bfa2bd175b1090
pktcdvd: fix regression on 64-bit architectures

The support for the compat ioctl did not actually do what it was
supposed to do because of a typo, instead it broke native support for
CDROM_LAST_WRITTEN and CDROM_SEND_PACKET on all architectures with
CONFIG_COMPAT enabled.

Fixes: 050bdccba6ab ("pktcdvd: add compat_ioctl handler")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
----
Please apply for v5.5, I just noticed the regression while
rebasing some of the patches I created on top.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/pktcdvd.c