diff options
Diffstat (limited to 'include/linux/ncr.h')
-rw-r--r-- | include/linux/ncr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ncr.h b/include/linux/ncr.h index 9b96a038ff5..06f34e2812a 100644 --- a/include/linux/ncr.h +++ b/include/linux/ncr.h @@ -56,7 +56,7 @@ typedef enum { typedef int ncr_key_t; -#define NCR_KEY_INVALID (ncr_key_t)(0) +#define NCR_KEY_INVALID ((ncr_key_t)-1) #define NCR_KEY_FLAG_EXPORTABLE 1 #define NCR_KEY_FLAG_WRAPPABLE (1<<1) @@ -246,7 +246,7 @@ typedef enum { } ncr_crypto_op_t; typedef int ncr_session_t; -#define NCR_SESSION_INVALID (ncr_session_t)0 +#define NCR_SESSION_INVALID ((ncr_session_t)-1) /* input of CIOCGSESSION */ struct ncr_session_st { |