svn commit: r364833 - head/sys/dev/sec
Brandon Bergren
bdragon at FreeBSD.org
Wed Aug 26 19:30:43 UTC 2020
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);
More information about the svn-src-head
mailing list