]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: simplify the compat ioctl handling
authorChristoph Hellwig <hch@lst.de>
Thu, 8 Apr 2021 12:04:42 +0000 (14:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Apr 2021 06:12:55 +0000 (08:12 +0200)
commit7e042cd0cf1e20af56e417352f41232c336a1c35
treee1499509fbbeb32ab45c8107472e740b5505f6cd
parent1f2113c259db9544442c5d3814e86911770e064a
nvme: simplify the compat ioctl handling

Don't bother defining a separate compat_ioctl handler, and just handle
the NVME_IOCTL_SUBMIT_IO32 case inline.  Also only defined it for those
ABIs (currently just i386 vs x86_64) that are affected.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Javier González <javier.gonz@samsung.com>
drivers/nvme/host/core.c