From 49555acf91d5465c950ede40e1c9a41ca3153209 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 3 Jan 2011 17:37:57 +0100 Subject: [PATCH] fix description of struct crypt_op's flags field Signed-off-by: Nikos Mavrogiannopoulos --- cryptodev.h | 2 +- cryptodev_int.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptodev.h b/cryptodev.h index d7343ba..9cb2764 100644 --- a/cryptodev.h +++ b/cryptodev.h @@ -105,7 +105,7 @@ struct session_info_op { struct crypt_op { __u32 ses; /* session identifier */ __u16 op; /* COP_ENCRYPT or COP_DECRYPT */ - __u16 flags; /* no usage so far, use 0 */ + __u16 flags; /* see COP_FLAG_* */ __u32 len; /* length of source data */ __u8 __user *src; /* source data */ __u8 __user *dst; /* pointer to output data */ diff --git a/cryptodev_int.h b/cryptodev_int.h index bdf5a46..4d9d6f6 100644 --- a/cryptodev_int.h +++ b/cryptodev_int.h @@ -111,7 +111,7 @@ struct compat_session_op { struct compat_crypt_op { uint32_t ses; /* session identifier */ uint16_t op; /* COP_ENCRYPT or COP_DECRYPT */ - uint16_t flags; /* no usage so far, use 0 */ + uint16_t flags; /* see COP_FLAG_* */ uint32_t len; /* length of source data */ compat_uptr_t src; /* source data */ compat_uptr_t dst; /* pointer to output data */ -- 2.11.4.GIT