summaryrefslogtreecommitdiff
path: root/package/cryptodev-linux/patches/patch-tests_asynchelper_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:32:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-10 22:38:22 +0200
commit020d26ead111f8ca09c47208a010ce44ee8b3ca7 (patch)
tree2b7f9355fe549cb950a26d0d42240064b240d4ae /package/cryptodev-linux/patches/patch-tests_asynchelper_h
parent6cb413b7c21d65a4f40d953bbce4fd6696f41fab (diff)
cryptodev-linux: update to latest git
Diffstat (limited to 'package/cryptodev-linux/patches/patch-tests_asynchelper_h')
-rw-r--r--package/cryptodev-linux/patches/patch-tests_asynchelper_h20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/cryptodev-linux/patches/patch-tests_asynchelper_h b/package/cryptodev-linux/patches/patch-tests_asynchelper_h
new file mode 100644
index 000000000..04adc2b41
--- /dev/null
+++ b/package/cryptodev-linux/patches/patch-tests_asynchelper_h
@@ -0,0 +1,20 @@
+--- cryptodev-linux-a705360197260d28535746ae98c461ba2cfb7a9e.orig/tests/asynchelper.h 2017-06-06 23:28:39.000000000 +0200
++++ cryptodev-linux-a705360197260d28535746ae98c461ba2cfb7a9e/tests/asynchelper.h 2017-06-06 23:34:38.200115116 +0200
+@@ -2,7 +2,7 @@
+ #define __ASYNCHELPER_H
+
+ /* poll until POLLOUT, then call CIOCASYNCCRYPT */
+-inline int do_async_crypt(int cfd, struct crypt_op *cryp)
++static inline int do_async_crypt(int cfd, struct crypt_op *cryp)
+ {
+ struct pollfd pfd;
+
+@@ -22,7 +22,7 @@ inline int do_async_crypt(int cfd, struc
+ }
+
+ /* poll until POLLIN, then call CIOCASYNCFETCH */
+-inline int do_async_fetch(int cfd, struct crypt_op *cryp)
++static inline int do_async_fetch(int cfd, struct crypt_op *cryp)
+ {
+ struct pollfd pfd;
+