summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Guerin <adam.guerin@intel.com>2024-02-16 16:20:00 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2024-02-24 01:41:20 +0100
commitbca79b9f5639b2fd4692904bce696291336e0246 (patch)
treeabe8e2bd36906aaeb46e5b88c5f9ee912da5db99
parentcrypto: qat - remove unnecessary description from comment (diff)
downloadlinux-bca79b9f5639b2fd4692904bce696291336e0246.tar.xz
linux-bca79b9f5639b2fd4692904bce696291336e0246.zip
crypto: qat - fix comment structure
Move comment description to the same line as the function name. This is to fix the following warning when compiling the QAT driver using the clang compiler with CC=clang W=2: drivers/crypto/intel/qat/qat_common/qat_crypto.c:108: warning: missing initial short description on line: * qat_crypto_vf_dev_config() Signed-off-by: Adam Guerin <adam.guerin@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/intel/qat/qat_common/qat_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/intel/qat/qat_common/qat_crypto.c b/drivers/crypto/intel/qat/qat_common/qat_crypto.c
index 40c8e74d1cf9..101c6ea41673 100644
--- a/drivers/crypto/intel/qat/qat_common/qat_crypto.c
+++ b/drivers/crypto/intel/qat/qat_common/qat_crypto.c
@@ -105,8 +105,8 @@ struct qat_crypto_instance *qat_crypto_get_instance_node(int node)
}
/**
- * qat_crypto_vf_dev_config()
- * create dev config required to create crypto inst.
+ * qat_crypto_vf_dev_config() - create dev config required to create
+ * crypto inst.
*
* @accel_dev: Pointer to acceleration device.
*