Author: mav
Date: Thu Feb  1 19:46:08 2018
New Revision: 328727
URL: https://svnweb.freebsd.org/changeset/base/328727

Log:
  MFC r320412 (by imp): Namespace is 32-bits, don't cast it to 16 here

Modified:
  stable/11/sys/cam/nvme/nvme_da.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/cam/nvme/nvme_da.c
==============================================================================
--- stable/11/sys/cam/nvme/nvme_da.c    Thu Feb  1 19:45:28 2018        
(r328726)
+++ stable/11/sys/cam/nvme/nvme_da.c    Thu Feb  1 19:46:08 2018        
(r328727)
@@ -745,7 +745,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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to