diff options
author | Cristian Stoica <cristian.stoica@nxp.com> | 2016-01-25 11:19:43 +0200 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@nxp.com> | 2016-06-23 10:58:51 +0800 |
commit | 41d1478e1294d06f0cce58fe847c0b0f1706b808 (patch) | |
tree | 8c6c5e2887cc30435ee40e764bb2ede58278d0ac /recipes-kernel/cryptodev/files/0020-fix-uninitialized-variable-compiler-warning.patch | |
parent | e3956ffbc217e468e26c9ce2e8932d3720fabca4 (diff) | |
download | meta-fsl-ppc-41d1478e1294d06f0cce58fe847c0b0f1706b808.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/0020-fix-uninitialized-variable-compiler-warning.patch')
-rw-r--r-- | recipes-kernel/cryptodev/files/0020-fix-uninitialized-variable-compiler-warning.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/recipes-kernel/cryptodev/files/0020-fix-uninitialized-variable-compiler-warning.patch b/recipes-kernel/cryptodev/files/0020-fix-uninitialized-variable-compiler-warning.patch deleted file mode 100644 index a97a2d4..0000000 --- a/recipes-kernel/cryptodev/files/0020-fix-uninitialized-variable-compiler-warning.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From be9f6a0dc90847dbb00307d23f47b8b3fc3ff130 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tudor Ambarus <tudor.ambarus@freescale.com> | ||
3 | Date: Fri, 29 May 2015 15:49:22 +0300 | ||
4 | Subject: [PATCH 20/20] fix uninitialized variable compiler warning | ||
5 | |||
6 | crypto/../../cryptodev-linux/ioctl.c: In function 'cryptodev_compat_ioctl': | ||
7 | crypto/../../cryptodev-linux/ioctl.c:1445:2: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] | ||
8 | return ret; | ||
9 | ^ | ||
10 | |||
11 | Signed-off-by: Tudor Ambarus <tudor.ambarus@freescale.com> | ||
12 | Change-Id: Id5226fc97a3bb880ca6db86df58957122bbaa428 | ||
13 | Reviewed-on: http://git.am.freescale.net:8181/37441 | ||
14 | Reviewed-by: Cristian Stoica <cristian.stoica@freescale.com> | ||
15 | Tested-by: Cristian Stoica <cristian.stoica@freescale.com> | ||
16 | --- | ||
17 | ioctl.c | 3 ++- | ||
18 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/ioctl.c b/ioctl.c | ||
21 | index f3ce2f6..7cd3c56 100644 | ||
22 | --- a/ioctl.c | ||
23 | +++ b/ioctl.c | ||
24 | @@ -1387,9 +1387,10 @@ cryptodev_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg_) | ||
25 | case COMPAT_CIOCASYMFETCHCOOKIE: | ||
26 | { | ||
27 | struct cryptodev_pkc *pkc; | ||
28 | - int i = 0; | ||
29 | + int i; | ||
30 | struct compat_pkc_cookie_list_s cookie_list; | ||
31 | |||
32 | + ret = 0; | ||
33 | cookie_list.cookie_available = 0; | ||
34 | |||
35 | for (i = 0; i < MAX_COOKIES; i++) { | ||
36 | -- | ||
37 | 2.3.5 | ||
38 | |||