svn commit: r318679 - head/sys/dev/mpr
Stephen McConnell
slm at FreeBSD.org
Mon May 22 20:27:31 UTC 2017
Author: slm
Date: Mon May 22 20:27:29 2017
New Revision: 318679
URL: https://svnweb.freebsd.org/changeset/base/318679
Log:
Fix powerpc compiler error.
Approved by: ken
Modified:
head/sys/dev/mpr/mpr_sas.c
Modified: head/sys/dev/mpr/mpr_sas.c
==============================================================================
--- head/sys/dev/mpr/mpr_sas.c Mon May 22 20:11:40 2017 (r318678)
+++ head/sys/dev/mpr/mpr_sas.c Mon May 22 20:27:29 2017 (r318679)
@@ -1836,8 +1836,8 @@ mprsas_build_nvme_unmap(struct mpr_softc
mprsas_log_command(cm, MPR_XINFO, "%s cm %p ccb %p outstanding %u\n",
__func__, cm, ccb, targ->outstanding);
- mpr_build_nvme_prp(sc, cm, req, (void *)nvme_dsm_ranges_dma_handle, 0,
- data_length);
+ mpr_build_nvme_prp(sc, cm, req,
+ (void *)(uintptr_t)nvme_dsm_ranges_dma_handle, 0, data_length);
mpr_map_command(sc, cm);
out:
More information about the svn-src-head
mailing list