summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/sdk_patches/0091-Fix-test-compile-time-warnings.patch
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2017-07-28 15:44:09 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2017-08-07 11:42:29 -0300
commitece24e8f9a042561f188d8f09c60b146dd081c94 (patch)
tree1f9b832c30fa2740f16363187493814aca21a3c2 /recipes-kernel/cryptodev/sdk_patches/0091-Fix-test-compile-time-warnings.patch
parentd586bfdde75ab6cae4f2dcdb63c068e07f4c188e (diff)
downloadmeta-freescale-ece24e8f9a042561f188d8f09c60b146dd081c94.tar.gz
cryptodev-qoriq: update to v1.9
Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0091-Fix-test-compile-time-warnings.patch')
-rw-r--r--recipes-kernel/cryptodev/sdk_patches/0091-Fix-test-compile-time-warnings.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0091-Fix-test-compile-time-warnings.patch b/recipes-kernel/cryptodev/sdk_patches/0091-Fix-test-compile-time-warnings.patch
deleted file mode 100644
index 639fe0fd..00000000
--- a/recipes-kernel/cryptodev/sdk_patches/0091-Fix-test-compile-time-warnings.patch
+++ /dev/null
@@ -1,65 +0,0 @@
1From a715480416b33b0bacd2b58ec42b9c64bdb21c0c Mon Sep 17 00:00:00 2001
2From: Michael Weiser <michael.weiser@gmx.de>
3Date: Fri, 19 Aug 2016 10:24:40 +0100
4Subject: [PATCH 091/104] Fix test compile time warnings
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9A number of tests cause compiler warnings like this:
10
11hashcrypt_speed.c: In function ‘hash_data’:
12hashcrypt_speed.c:101:2: warning: implicit declaration of function ‘alarm’ [-Wimplicit-function-declaration]
13 alarm(5);
14 ^~~~~
15hashcrypt_speed.c: In function ‘main’:
16hashcrypt_speed.c:203:2: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
17 close(fdc);
18 ^~~~~
19
20Fix by including unistd.h.
21---
22 tests/hashcrypt_speed.c | 1 +
23 tests/sha_speed.c | 1 +
24 tests/speed.c | 1 +
25 3 files changed, 3 insertions(+)
26
27diff --git a/tests/hashcrypt_speed.c b/tests/hashcrypt_speed.c
28index 045bf8e..10c9f00 100644
29--- a/tests/hashcrypt_speed.c
30+++ b/tests/hashcrypt_speed.c
31@@ -21,6 +21,7 @@
32 #include <stdint.h>
33 #include <stdlib.h>
34 #include <string.h>
35+#include <unistd.h>
36 #include <sys/ioctl.h>
37 #include <sys/time.h>
38 #include <sys/types.h>
39diff --git a/tests/sha_speed.c b/tests/sha_speed.c
40index 9f2c8cc..30b40f5 100644
41--- a/tests/sha_speed.c
42+++ b/tests/sha_speed.c
43@@ -21,6 +21,7 @@
44 #include <stdint.h>
45 #include <stdlib.h>
46 #include <string.h>
47+#include <unistd.h>
48 #include <sys/ioctl.h>
49 #include <sys/time.h>
50 #include <sys/types.h>
51diff --git a/tests/speed.c b/tests/speed.c
52index 3b36db1..fc38a63 100644
53--- a/tests/speed.c
54+++ b/tests/speed.c
55@@ -22,6 +22,7 @@
56 #include <stdio.h>
57 #include <stdlib.h>
58 #include <string.h>
59+#include <unistd.h>
60 #include <sys/ioctl.h>
61 #include <sys/time.h>
62 #include <sys/types.h>
63--
642.10.2
65