]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: use helper to remove the duplicate code
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Mon, 10 May 2021 19:15:37 +0000 (12:15 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 11 May 2021 16:30:45 +0000 (18:30 +0200)
commitf08138a738fa5c6d34c5bff29fc2833660b3a431
tree3bd0d2ba6b517e60632e5f69b2d2d705f1198027
parent792b7b18f3db2bd2760c81cf42968c5fa6ead342
nvmet: use helper to remove the duplicate code

Use the helper nvmet_report_invalid_opcode() to report invalid opcode
so we can remove the duplicate code.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/admin-cmd.c