cryptodev-module: Backport a patch to fix build failure with kernel v5.8
PATCH 1/1 cryptodev-module: Backport a patch to fix build failure with kernel v5.8
From: He Zhe <[email protected]>
Fix the following build failure with linux-yocto-dev
zc.c:61:17: error: 'struct mm_struct' has no member named 'mmap_sem'; did you mean 'mmap_base'?
61 | down_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
zc.c:77:15: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
77 | up_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_baseSigned-off-by He Zhe <[email protected]>
--- .../cryptodev/cryptodev-module_1.10.bb | 1 + .../0001-Fix-build-for-Linux-5.8-rc1.patch | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 meta/recipes-kernel/cryptodev/files/0001-Fix-build-for-Linux-5.8-rc1.patch
meta/recipes-kernel/cryptodev/cryptodev-module_1.10.bb +1 -0
@@ -9,6 +9,7 @@ DEPENDS += "cryptodev-linux" SRC_URI += " \ file://0001-Disable-installing-header-file-provided-by-another-p.patch \ +file://0001-Fix-build-for-Linux-5.8-rc1.patch \ " EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
meta/recipes-kernel/cryptodev/files/0001-Fix-build-for-Linux-5.8-rc1.patch new file +49 -0
49 lines not on this page · raw message
Signature · 1 line
2.17.1