]> 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)
commitb518fe63526bb455643e42d38ae6bf4b71908bee
treee1499509fbbeb32ab45c8107472e740b5505f6cd
parent4a2cba477c27c3c0210c80d2a48473feb49902ce
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