mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
Use UMA_ALIGN_PTR to specify pointer alignment
Suggested by: jhb
This commit is contained in:
parent
f7448f6347
commit
fff0aa3e6e
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ dtsec_rm_fi_pool_init(struct dtsec_softc *sc)
|
|||
|
||||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue