summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorAllan, Bruce W <bruce.w.allan@intel.com>2015-03-31 18:30:29 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-01 16:22:46 +0200
commit304989fe59eb8edb4bf015cd6ebfd4f4a857c3b0 (patch)
tree3802eb8e3f04bfbcf9df04b3becb5bdfde52aab6 /drivers/crypto
parentcrypto: qat - fix typo (diff)
downloadlinux-304989fe59eb8edb4bf015cd6ebfd4f4a857c3b0.tar.xz
linux-304989fe59eb8edb4bf015cd6ebfd4f4a857c3b0.zip
crypto: qat - fix checkpatch CHECK_SPACING issues
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/qat/qat_common/icp_qat_hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_common/icp_qat_hw.h b/drivers/crypto/qat/qat_common/icp_qat_hw.h
index 68f191b653b0..121d5e6e46ca 100644
--- a/drivers/crypto/qat/qat_common/icp_qat_hw.h
+++ b/drivers/crypto/qat/qat_common/icp_qat_hw.h
@@ -145,7 +145,7 @@ struct icp_qat_hw_auth_setup {
};
#define QAT_HW_DEFAULT_ALIGNMENT 8
-#define QAT_HW_ROUND_UP(val, n) (((val) + ((n)-1)) & (~(n-1)))
+#define QAT_HW_ROUND_UP(val, n) (((val) + ((n) - 1)) & (~(n - 1)))
#define ICP_QAT_HW_NULL_STATE1_SZ 32
#define ICP_QAT_HW_MD5_STATE1_SZ 16
#define ICP_QAT_HW_SHA1_STATE1_SZ 20