diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-17 20:38:46 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 22:51:00 +0200 |
commit | 8b354238d31bafea348dd8099f75ab23f0d9d4da (patch) | |
tree | 992b4b8a2ec73c68342bbe6fac5de25aff59e17f | |
parent | 22482a34969ead83c1ead01cff483998ef5960d4 (diff) | |
download | cryptodev-linux-8b354238d31bafea348dd8099f75ab23f0d9d4da.tar.gz cryptodev-linux-8b354238d31bafea348dd8099f75ab23f0d9d4da.tar.xz cryptodev-linux-8b354238d31bafea348dd8099f75ab23f0d9d4da.zip |
Use more specific types to avoid compat_ioctl
Using "int" would require conversions from compat_int_t.
-rw-r--r-- | ncr.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57,7 +57,7 @@ typedef enum { /* Key handling */ -typedef int ncr_key_t; +typedef __s32 ncr_key_t; #define NCR_KEY_INVALID ((ncr_key_t)-1) @@ -262,7 +262,7 @@ typedef enum { NCR_OP_VERIFY, } ncr_crypto_op_t; -typedef int ncr_session_t; +typedef __s32 ncr_session_t; #define NCR_SESSION_INVALID ((ncr_session_t)-1) /* input of CIOCGSESSION */ |