]> 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)
commit1e4f677dc0665011c7ba9adb866b8a382c1b6d38
tree3bd0d2ba6b517e60632e5f69b2d2d705f1198027
parent34f5611a320ca442314031575e613ce44d7f413f
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