]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2020 18:51:57 +0000 (19:51 +0100)
commite517ef194900d47f552d5ea1cb5d43b06642b47a
treef18a5ca7bd66b7a28319701646f3b6f16d75f717
parenta4fc3b99c1940fc591a635ff09e8b58472207a70
nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info

commit f25372ffc3f6c2684b57fb718219137e6ee2b64c upstream.

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: 0e98719b0e4b ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvme/host/core.c