[PowerPC] Fix build failure in sec.c

Fix a typo in r364799 that was breaking powerpc and powerpcspe build.

MFC with:	364799
This commit is contained in:
Brandon Bergren 2020-08-26 19:30:42 +00:00
parent bd4fcf75ee
commit 2941010b58

View File

@ -852,7 +852,7 @@ sec_desc_map_dma(struct sec_softc *sc, struct sec_dma_mem *dma_mem,
size = m_length(crp->crp_buf.cb_mbuf, NULL);
break;
case CRYPTO_BUF_VMPAGE:
size = PAGE_SIZE - cb->cb_vm_page_offset;
size = PAGE_SIZE - crp->crp_buf.cb_vm_page_offset;
break;
default:
return (EINVAL);