Commit ec316c19 authored by Adam Guerin's avatar Adam Guerin Committed by Aichun Shi
Browse files

crypto: qat - fix comment structure

mainline inclusion
from mainline-v6.9-rc1
commit bca79b9f5639b2fd4692904bce696291336e0246
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I9A5BW
CVE: N/A
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bca79b9f5639b2fd4692904bce696291336e0246



-------------------------------------

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()

Intel-SIG: commit bca79b9f5639 crypto: qat - fix comment structure
Backport to support QAT in-tree driver

Signed-off-by: default avatarAdam Guerin <adam.guerin@intel.com>
Reviewed-by: default avatarGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
[ Aichun Shi: amend commit log ]
Signed-off-by: default avatarAichun Shi <aichun.shi@intel.com>
parent be9d2df6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.
 *