summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-on-3.19.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-on-3.19.patch')
-rw-r--r--meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-on-3.19.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-on-3.19.patch b/meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-on-3.19.patch
deleted file mode 100644
index 74c8972536..0000000000
--- a/meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-on-3.19.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 7d71124991030f99965e6e6aaed421115f185adb Mon Sep 17 00:00:00 2001
2From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
3Date: Mon, 9 Feb 2015 13:51:56 +0100
4Subject: [PATCH] ioctl.c: Fix build on 3.19
5
6get_unused_fd() MACRO has been removed on kernel 3.19. Replace by the
7actual output of the macro.
8
9Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
10---
11 ioctl.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/ioctl.c b/ioctl.c
15index f26cf93..cf8cc17 100644
16--- a/ioctl.c
17+++ b/ioctl.c
18@@ -529,7 +529,7 @@ static int
19 clonefd(struct file *filp)
20 {
21 int ret;
22- ret = get_unused_fd();
23+ ret = get_unused_fd_flags(0);
24 if (ret >= 0) {
25 get_file(filp);
26 fd_install(ret, filp);
27--
282.1.4
29