]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info
authorYi Zhang <yi.zhang@redhat.com>
Fri, 14 Feb 2020 10:48:02 +0000 (18:48 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 14 Feb 2020 17:12:04 +0000 (10:12 -0700)
commitdee8c91ab9550a8e08a11c0a42f6f2eaf7758eee
tree16bbfbd519f72007bd5dbfcff8db8d4692044a4e
parentaa1ee15c5d1904ae6fb1c6fbbcf75b050a7219d7
nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info

nvme fw-activate operation will get bellow warning log,
fix it by update the parameter order

[  113.231513] nvme nvme0: Get FW SLOT INFO log error

Fixes: f07475dec329 ("nvme: simplify the API for getting log pages")
Reported-by: Sujith Pandel <sujith_pandel@dell.com>
Reviewed-by: David Milburn <dmilburn@redhat.com>
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c