svn commit: r320412 - head/sys/cam/nvme
Warner Losh
imp at FreeBSD.org
Tue Jun 27 16:48:06 UTC 2017
Author: imp
Date: Tue Jun 27 16:48:05 2017
New Revision: 320412
URL: https://svnweb.freebsd.org/changeset/base/320412
Log:
Namespace is 32-bits, don't cast it to 16 here
Modified:
head/sys/cam/nvme/nvme_da.c
Modified: head/sys/cam/nvme/nvme_da.c
==============================================================================
--- head/sys/cam/nvme/nvme_da.c Tue Jun 27 16:30:01 2017 (r320411)
+++ head/sys/cam/nvme/nvme_da.c Tue Jun 27 16:48:05 2017 (r320412)
@@ -743,7 +743,7 @@ ndaregister(struct cam_periph *periph, void *arg)
/*
* The name space ID is the lun, save it for later I/O
*/
- softc->nsid = (uint16_t)xpt_path_lun_id(periph->path);
+ softc->nsid = (uint32_t)xpt_path_lun_id(periph->path);
/*
* Register this media as a disk
More information about the svn-src-all
mailing list