diff options
author | 2020-09-22 12:49:38 -0700 | |
---|---|---|
committer | 2020-09-23 20:01:47 +0200 | |
commit | 46d2613eae51d527ecaf0e8248a9bfcc0b92aa7e (patch) | |
tree | d2eb584d8e67da9ec29e72a7784492f2d9e0beba /drivers/usb/cdns3/cdns3-imx.c | |
parent | nvme-fc: fail new connections to a deleted host or remote port (diff) | |
download | linux-dev-46d2613eae51d527ecaf0e8248a9bfcc0b92aa7e.tar.xz linux-dev-46d2613eae51d527ecaf0e8248a9bfcc0b92aa7e.zip |
nvme-core: don't use NVME_NSID_ALL for command effects and supported log
In the function nvme_get_effects_log() it uses NVME_NSID_ALL which has
namespace scope. The command effect log page is controller specific.
Replace NVME_NSID_ALL with 0x00 which specifies the controller scope
instead of namespace scope.
Fixes: 84fef62d135b ("nvme: check admin passthru command effects")
Link: https://bugzilla.kernel.org/show_bug.cgi?id=209287
Reported-by: Huai-Cheng Kuo <hh81478072@gmail.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions