diff options
author | Cristian Stoica <cristian.stoica@nxp.com> | 2016-01-25 11:19:43 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-08-12 11:41:02 -0300 |
commit | b8e3085e4e9608b301121c7065c84a3e51b94c74 (patch) | |
tree | 27dd6761bb8a8b9a3ce311bab1155a15badaec5e /recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch | |
parent | 578ab5d071729c9677d928467a2b48bcb0017139 (diff) | |
download | meta-freescale-b8e3085e4e9608b301121c7065c84a3e51b94c74.tar.gz |
cryptodev-qoriq: upgrade to 1.8 plus fsl patches
upstream commit: 87b56e04b24c6d4be145483477eff7d3153290e9
Also:
- move all fsl patches on top of cryptodev-1.8
- add CIOCHASH ioctl
- fix incorrect tests initializations
- modify yocto patches to match updated Makefiles
Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
Diffstat (limited to 'recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch')
-rw-r--r-- | recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch b/recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch deleted file mode 100644 index ab276d2d..00000000 --- a/recipes-kernel/cryptodev/files/0001-fix-compilation-against-linux-3.19.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 5054d20d45571cc85339351fde52f872eeb82206 Mon Sep 17 00:00:00 2001 | ||
2 | From: Phil Sutter <phil@nwl.cc> | ||
3 | Date: Tue, 10 Feb 2015 04:57:05 +0100 | ||
4 | Subject: [PATCH 1/4] fix compilation against linux-3.19 | ||
5 | |||
6 | Commit f938612dd97d481b8b5bf960c992ae577f081c17 in linux.git removes | ||
7 | get_unused_fd() macro. This patch changes the calling code to use it's | ||
8 | content 'get_unused_fd_flags(0)' instead. Checking for when | ||
9 | get_unused_fd_flags was introduced shows it's been there since 2.6.23 at | ||
10 | least, so probably no need to make this change conditional on the target | ||
11 | kernel version. | ||
12 | |||
13 | Original patch by Ricardo Ribalda Delgado for Open Embedded, reported by | ||
14 | Oleg Rakhmanov. | ||
15 | |||
16 | Signed-off-by: Phil Sutter <phil@nwl.cc> | ||
17 | --- | ||
18 | ioctl.c | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/ioctl.c b/ioctl.c | ||
22 | index 5a55a76..b23f5fd 100644 | ||
23 | --- a/ioctl.c | ||
24 | +++ b/ioctl.c | ||
25 | @@ -546,7 +546,7 @@ static int | ||
26 | clonefd(struct file *filp) | ||
27 | { | ||
28 | int ret; | ||
29 | - ret = get_unused_fd(); | ||
30 | + ret = get_unused_fd_flags(0); | ||
31 | if (ret >= 0) { | ||
32 | get_file(filp); | ||
33 | fd_install(ret, filp); | ||
34 | -- | ||
35 | 2.3.5 | ||
36 | |||