]> code.ossystems Code Review - openembedded-core.git/commit
cryptodev-module: Backport a patch to fix build failure with kernel v5.8
authorHe Zhe <zhe.he@windriver.com>
Mon, 20 Jul 2020 07:39:17 +0000 (15:39 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jul 2020 11:45:52 +0000 (12:45 +0100)
commitfe668065ad7ec83aadfa36fe6ba1ced3db2e3cad
tree5e7af7dd87946ef222db42891089eba9d02aa803
parentc6749532f94f435e6771d66d3fa225e676753478
cryptodev-module: Backport a patch to fix build failure with kernel v5.8

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_base

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/cryptodev/cryptodev-module_1.10.bb
meta/recipes-kernel/cryptodev/files/0001-Fix-build-for-Linux-5.8-rc1.patch [new file with mode: 0644]