Date: Thu, 1 Feb 2018 19:46:08 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r328727 - stable/11/sys/cam/nvme Message-ID: <201802011946.w11Jk8sZ031579@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802011946.w11Jk8sZ031579>