Author: bdragon
Date: Wed Aug 26 19:30:42 2020
New Revision: 364833
URL: https://svnweb.freebsd.org/changeset/base/364833
Log:
[PowerPC] Fix build failure in sec.c
Fix a typo in r364799 that was breaking powerpc and powerpcspe build.
MFC with: 364799
Modified:
head/sys/dev/sec/sec.c
Modified: head/sys/dev/sec/sec.c
==============================================================================
--- head/sys/dev/sec/sec.c Wed Aug 26 19:28:30 2020 (r364832)
+++ head/sys/dev/sec/sec.c Wed Aug 26 19:30:42 2020 (r364833)
@@ -852,7 +852,7 @@ sec_desc_map_dma(struct sec_softc *sc, struct sec_dma_
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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"