From: Allan, Bruce W Date: Tue, 31 Mar 2015 16:30:29 +0000 (-0700) Subject: crypto: qat - fix checkpatch CHECK_SPACING issues X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=304989fe59eb8edb4bf015cd6ebfd4f4a857c3b0;p=openwrt%2Fstaging%2Fblogic.git crypto: qat - fix checkpatch CHECK_SPACING issues Signed-off-by: Bruce Allan Signed-off-by: Herbert Xu --- 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