Skip to content

Commit

Permalink
crypto: qat - fix comment structure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adam Guerin authored and Herbert Xu committed Feb 24, 2024
1 parent ff39134 commit bca79b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/crypto/intel/qat/qat_common/qat_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit bca79b9

Please sign in to comment.