mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 07:23:59 +00:00
cryptodev-linux: fix build with linux-5.10.220+
This commit is contained in:
parent
141a53a029
commit
03835617b9
package/kernel/cryptodev-linux
@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=cryptodev-linux
|
||||
PKG_VERSION:=1.13
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/$(PKG_NAME)/$(PKG_NAME)/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/ioctl.c
|
||||
+++ b/ioctl.c
|
||||
@@ -933,7 +933,7 @@
|
||||
if (unlikely(ret)) {
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0))
|
||||
sys_close(fd);
|
||||
-#elif (LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0))
|
||||
+#elif (LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 220))
|
||||
ksys_close(fd);
|
||||
#else
|
||||
close_fd(fd);
|
Loading…
Reference in New Issue
Block a user