diff options
author | George Melikov <[email protected]> | 2017-01-21 00:17:55 +0300 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-01-22 13:25:40 -0800 |
commit | 4ea3f86426f76e59244ec6f66504da688d90193c (patch) | |
tree | ff907fb2ce89e00b8b89a0a653c9b4e7005f6935 /module/icp/io | |
parent | ec441a9c534815b379468a2d349011cbd5bcd884 (diff) |
codebase style improvements for OpenZFS 6459 port
Diffstat (limited to 'module/icp/io')
-rw-r--r-- | module/icp/io/aes.c | 6 | ||||
-rw-r--r-- | module/icp/io/edonr_mod.c | 3 | ||||
-rw-r--r-- | module/icp/io/skein_mod.c | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/module/icp/io/aes.c b/module/icp/io/aes.c index 7fd66be3e..12d57ed79 100644 --- a/module/icp/io/aes.c +++ b/module/icp/io/aes.c @@ -321,14 +321,16 @@ aes_provider_status(crypto_provider_handle_t provider, uint_t *status) static int aes_encrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t template, - crypto_req_handle_t req) { + crypto_req_handle_t req) +{ return (aes_common_init(ctx, mechanism, key, template, req, B_TRUE)); } static int aes_decrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t template, - crypto_req_handle_t req) { + crypto_req_handle_t req) +{ return (aes_common_init(ctx, mechanism, key, template, req, B_FALSE)); } diff --git a/module/icp/io/edonr_mod.c b/module/icp/io/edonr_mod.c index 19b5c963d..cb748a954 100644 --- a/module/icp/io/edonr_mod.c +++ b/module/icp/io/edonr_mod.c @@ -57,6 +57,7 @@ edonr_mod_init(void) } int -edonr_mod_fini(void) { +edonr_mod_fini(void) +{ return (mod_remove(&modlinkage)); } diff --git a/module/icp/io/skein_mod.c b/module/icp/io/skein_mod.c index 705b1e819..6db31c355 100644 --- a/module/icp/io/skein_mod.c +++ b/module/icp/io/skein_mod.c @@ -230,7 +230,8 @@ skein_mod_init(void) } int -skein_mod_fini(void) { +skein_mod_fini(void) +{ int ret; if (skein_prov_handle != 0) { |