From 8b354238d31bafea348dd8099f75ab23f0d9d4da Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Tue, 17 Aug 2010 20:38:46 +0200 Subject: Use more specific types to avoid compat_ioctl Using "int" would require conversions from compat_int_t. --- ncr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ncr.h b/ncr.h index af4c279..a8ae1e3 100644 --- a/ncr.h +++ b/ncr.h @@ -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 */ -- cgit