cryptodev-linux: Fix error when compiling with 5.4 kernel
authorJeffery To <jeffery.to@gmail.com>
Tue, 17 Mar 2020 14:27:13 +0000 (22:27 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 18 Mar 2020 22:12:48 +0000 (23:12 +0100)
commitd33200824f031169874ab18412ed8c0bed042e9e
tree40c11e29544a8a14856c2fe30e3670e98524fd23
parent50a59b3a392aeb44c417ac3d7c2cdeea82ef2f15
cryptodev-linux: Fix error when compiling with 5.4 kernel

Currently, cryptodev-linux fails to compile with a
'"crypto_givcipher_type" undefined' error for targets on the 5.4 kernel,
e.g. armvirt[1].

This backports an upstream patch[2] that fixes this error.

[1]: https://downloads.openwrt.org/snapshots/faillogs/aarch64_generic/base/cryptodev-linux/compile.txt
[2]: https://github.com/cryptodev-linux/cryptodev-linux/commit/f971e0cd4a0ebe59fb2e8e17240399bf6901b09b

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
package/kernel/cryptodev-linux/Makefile
package/kernel/cryptodev-linux/patches/010-Fix-module-loading-with-Linux-v5.0-rc5.patch [new file with mode: 0644]