Commit 3f1c58f6 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Thomas Petazzoni
Browse files

cryptodev-linux: bump to version 1.8



Patches are upstream so remove them.

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 827bf7a2
Loading
Loading
Loading
Loading
+0 −37
Original line number Diff line number Diff line
From 5054d20d45571cc85339351fde52f872eeb82206 Mon Sep 17 00:00:00 2001
From: Phil Sutter <phil@nwl.cc>
Date: Tue, 10 Feb 2015 04:57:05 +0100
Subject: [PATCH] fix compilation against linux-3.19

Commit f938612dd97d481b8b5bf960c992ae577f081c17 in linux.git removes
get_unused_fd() macro. This patch changes the calling code to use it's
content 'get_unused_fd_flags(0)' instead. Checking for when
get_unused_fd_flags was introduced shows it's been there since 2.6.23 at
least, so probably no need to make this change conditional on the target
kernel version.

Original patch by Ricardo Ribalda Delgado for Open Embedded, reported by
Oleg Rakhmanov.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 ioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ioctl.c b/ioctl.c
index 5a55a76..b23f5fd 100644
--- a/ioctl.c
+++ b/ioctl.c
@@ -546,7 +546,7 @@ static int
 clonefd(struct file *filp)
 {
 	int ret;
-	ret = get_unused_fd();
+	ret = get_unused_fd_flags(0);
 	if (ret >= 0) {
 			get_file(filp);
 			fd_install(ret, filp);
-- 
2.0.5
+1 −1
Original line number Diff line number Diff line
# Locally calculated after checking php signature
sha256	41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25	cryptodev-linux-1.7.tar.gz
sha256	67fabde9fb67b286a96c4f45b594b0eccd0f761b495705c18f2ae9461b831376	cryptodev-linux-1.8.tar.gz
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#
################################################################################

CRYPTODEV_LINUX_VERSION = 1.7
CRYPTODEV_LINUX_VERSION = 1.8
CRYPTODEV_LINUX_SITE = http://download.gna.org/cryptodev-linux
CRYPTODEV_LINUX_INSTALL_STAGING = YES
CRYPTODEV_LINUX_LICENSE = GPLv2+