diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-07-09 01:26:25 +0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-09-04 00:32:26 +0400 |
commit | c3bfe7176c035a0a2c70bc79180fb13a6c57142a (patch) | |
tree | af979e07d60607e4d71faa3770b0ae3bd7005162 /drivers/block/ps3disk.c | |
parent | 685585c25e8269cc355b59d1cd6fc65b8c5c4878 (diff) | |
download | linux-c3bfe7176c035a0a2c70bc79180fb13a6c57142a.tar.xz |
NVMe: Namespace IDs are unsigned
The 'Number of Namespaces' read from the device was being treated as
signed, which would cause us to not scan any namespaces for a device
with more than 2 billion namespaces. That led to noticing that the
namespace ID was also being treated as signed, which could lead to the
result from NVME_IOCTL_ID being treated as an error code.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'drivers/block/ps3disk.c')
0 files changed, 0 insertions, 0 deletions