diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-06-17 20:41:18 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-06-17 20:41:18 +0200 |
commit | 439e48a6fea573764b4a98f993510e4921f6d7f1 (patch) | |
tree | 395fa2b7a9ed1877c90a28ad9cb512b1ef4383a7 /cryptodev_int.h | |
parent | 9fd408230f1fc91f8d877b5f55b1c00e8e89f665 (diff) | |
download | kernel-crypto-439e48a6fea573764b4a98f993510e4921f6d7f1.tar.gz kernel-crypto-439e48a6fea573764b4a98f993510e4921f6d7f1.tar.xz kernel-crypto-439e48a6fea573764b4a98f993510e4921f6d7f1.zip |
Avoid the use of packed attribute by directly assigning variables.
Diffstat (limited to 'cryptodev_int.h')
-rw-r--r-- | cryptodev_int.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cryptodev_int.h b/cryptodev_int.h index 408f1f9190f..6f2cc5e77df 100644 --- a/cryptodev_int.h +++ b/cryptodev_int.h @@ -1,5 +1,4 @@ /* cipher stuff */ - #ifndef CRYPTODEV_INT_H # define CRYPTODEV_INT_H @@ -76,7 +75,7 @@ struct compat_session_op { uint32_t mackey; /* pointer to mac key data */ uint32_t ses; /* session identifier */ -} __attribute__((packed)); +}; /* input of CIOCCRYPT */ struct compat_crypt_op { @@ -88,7 +87,7 @@ struct compat_session_op { uint32_t dst; /* pointer to output data */ uint32_t mac; /* pointer to output data for hash/MAC operations */ uint32_t iv; /* initialization vector for encryption operations */ -} __attribute__((packed)); +}; /* compat ioctls, defined for the above structs */ #define COMPAT_CIOCGSESSION _IOWR('c', 102, struct compat_session_op) |