summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-07-21 07:56:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-17 15:15:42 +0200
commite731baf1af61ff28f061158e2b44ced28f7ebf49 (patch)
tree6e3badd723518d036ef18df908dfe08d59833e58 /drivers/usb/cdns3/cdns3-gadget.c
parent32bf5d3c61f4de402f1b97bca5dfaf8d6c11d10f (diff)
nvme: catch -ENODEV from nvme_revalidate_zones again
[ Upstream commit e06b425bc835ead08b9fd935bf5e47eef473e7a0 ] nvme_revalidate_zones can also return -ENODEV if e.g. zone sizes aren't constant or not a power of two. In that case we should jump to marking the gendisk hidden and only support pass through. Fixes: 602e57c9799c ("nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info") Reported-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Joel Granados <j.granados@samsung.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions