svn commit: r318209 - head/sys/dev/dpaa
Justin Hibbits
jhibbits at FreeBSD.org
Fri May 12 04:10:04 UTC 2017
Author: jhibbits
Date: Fri May 12 04:10:02 2017
New Revision: 318209
URL: https://svnweb.freebsd.org/changeset/base/318209
Log:
Use UMA_ALIGN_PTR to specify pointer alignment
Suggested by: jhb
Modified:
head/sys/dev/dpaa/if_dtsec_rm.c
Modified: head/sys/dev/dpaa/if_dtsec_rm.c
==============================================================================
--- head/sys/dev/dpaa/if_dtsec_rm.c Fri May 12 03:44:20 2017 (r318208)
+++ head/sys/dev/dpaa/if_dtsec_rm.c Fri May 12 04:10:02 2017 (r318209)
@@ -115,7 +115,7 @@ dtsec_rm_fi_pool_init(struct dtsec_softc
sc->sc_fi_zone = uma_zcreate(sc->sc_fi_zname,
sizeof(struct dtsec_rm_frame_info), NULL, NULL, NULL, NULL,
- sizeof(void *) - 1, 0);
+ UMA_ALIGN_PTR, 0);
if (sc->sc_fi_zone == NULL)
return (EIO);
More information about the svn-src-head
mailing list