[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:
parent
bd4fcf75ee
commit
2941010b58
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user