aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/qat
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2014-07-25 18:55:15 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-08-01 10:36:01 -0400
commit53275baa0368945ba4f385f2e41918bedd847dce (patch)
treea7d76c3e3248148b0e3bda1d2ab55a8c1f7d1684 /drivers/crypto/qat
parent341b2a3541c21a2c60daf87bcd6d6e8c4f1aed62 (diff)
crypto: qat - checkpatch blank lines
Fix new checkpatch hits: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat')
-rw-r--r--drivers/crypto/qat/qat_common/adf_transport_internal.h3
-rw-r--r--drivers/crypto/qat/qat_common/icp_qat_fw_la.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/qat/qat_common/adf_transport_internal.h b/drivers/crypto/qat/qat_common/adf_transport_internal.h
index 4eb8969243bf..f854bac276b0 100644
--- a/drivers/crypto/qat/qat_common/adf_transport_internal.h
+++ b/drivers/crypto/qat/qat_common/adf_transport_internal.h
@@ -104,12 +104,15 @@ static inline int adf_bank_debugfs_add(struct adf_etr_bank_data *bank)
104{ 104{
105 return 0; 105 return 0;
106} 106}
107
107#define adf_bank_debugfs_rm(bank) do {} while (0) 108#define adf_bank_debugfs_rm(bank) do {} while (0)
109
108static inline int adf_ring_debugfs_add(struct adf_etr_ring_data *ring, 110static inline int adf_ring_debugfs_add(struct adf_etr_ring_data *ring,
109 const char *name) 111 const char *name)
110{ 112{
111 return 0; 113 return 0;
112} 114}
115
113#define adf_ring_debugfs_rm(ring) do {} while (0) 116#define adf_ring_debugfs_rm(ring) do {} while (0)
114#endif 117#endif
115#endif 118#endif
diff --git a/drivers/crypto/qat/qat_common/icp_qat_fw_la.h b/drivers/crypto/qat/qat_common/icp_qat_fw_la.h
index d1d4802a857f..c8d26697e8ea 100644
--- a/drivers/crypto/qat/qat_common/icp_qat_fw_la.h
+++ b/drivers/crypto/qat/qat_common/icp_qat_fw_la.h
@@ -358,6 +358,7 @@ struct icp_qat_fw_la_resp {
358 uint64_t opaque_data; 358 uint64_t opaque_data;
359 uint32_t resrvd[ICP_QAT_FW_NUM_LONGWORDS_4]; 359 uint32_t resrvd[ICP_QAT_FW_NUM_LONGWORDS_4];
360}; 360};
361
361#define ICP_QAT_FW_CIPHER_NEXT_ID_GET(cd_ctrl_hdr_t) \ 362#define ICP_QAT_FW_CIPHER_NEXT_ID_GET(cd_ctrl_hdr_t) \
362 ((((cd_ctrl_hdr_t)->next_curr_id_cipher) & \ 363 ((((cd_ctrl_hdr_t)->next_curr_id_cipher) & \
363 ICP_QAT_FW_COMN_NEXT_ID_MASK) >> (ICP_QAT_FW_COMN_NEXT_ID_BITPOS)) 364 ICP_QAT_FW_COMN_NEXT_ID_MASK) >> (ICP_QAT_FW_COMN_NEXT_ID_BITPOS))