2020-11-03 17:30:53

by Cabiddu, Giovanni

[permalink] [raw]
Subject: [PATCH] crypto: qat - replace pci with PCI in comments

From: Adam Guerin <[email protected]>

Change all lower case pci in comments to be upper case PCI.

Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Adam Guerin <[email protected]>
Reviewed-by: Giovanni Cabiddu <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Giovanni Cabiddu <[email protected]>
---
drivers/crypto/qat/qat_common/adf_dev_mgr.c | 4 ++--
drivers/crypto/qat/qat_common/adf_sriov.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/crypto/qat/qat_common/adf_dev_mgr.c b/drivers/crypto/qat/qat_common/adf_dev_mgr.c
index 92ec035576df..29dc2e3d38ff 100644
--- a/drivers/crypto/qat/qat_common/adf_dev_mgr.c
+++ b/drivers/crypto/qat/qat_common/adf_dev_mgr.c
@@ -285,9 +285,9 @@ struct adf_accel_dev *adf_devmgr_get_first(void)

/**
* adf_devmgr_pci_to_accel_dev() - Get accel_dev associated with the pci_dev.
- * @pci_dev: Pointer to pci device.
+ * @pci_dev: Pointer to PCI device.
*
- * Function returns acceleration device associated with the given pci device.
+ * Function returns acceleration device associated with the given PCI device.
* To be used by QAT device specific drivers.
*
* Return: pointer to accel_dev or NULL if not found.
diff --git a/drivers/crypto/qat/qat_common/adf_sriov.c b/drivers/crypto/qat/qat_common/adf_sriov.c
index d887640355d4..8c822c2861c2 100644
--- a/drivers/crypto/qat/qat_common/adf_sriov.c
+++ b/drivers/crypto/qat/qat_common/adf_sriov.c
@@ -122,13 +122,13 @@ EXPORT_SYMBOL_GPL(adf_disable_sriov);

/**
* adf_sriov_configure() - Enable SRIOV for the device
- * @pdev: Pointer to pci device.
+ * @pdev: Pointer to PCI device.
* @numvfs: Number of virtual functions (VFs) to enable.
*
* Note that the @numvfs parameter is ignored and all VFs supported by the
* device are enabled due to the design of the hardware.
*
- * Function enables SRIOV for the pci device.
+ * Function enables SRIOV for the PCI device.
*
* Return: number of VFs enabled on success, error code otherwise.
*/
--
2.28.0


2020-11-13 05:11:54

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: qat - replace pci with PCI in comments

On Tue, Nov 03, 2020 at 05:29:36PM +0000, Giovanni Cabiddu wrote:
> From: Adam Guerin <[email protected]>
>
> Change all lower case pci in comments to be upper case PCI.
>
> Suggested-by: Andy Shevchenko <[email protected]>
> Signed-off-by: Adam Guerin <[email protected]>
> Reviewed-by: Giovanni Cabiddu <[email protected]>
> Reviewed-by: Andy Shevchenko <[email protected]>
> Signed-off-by: Giovanni Cabiddu <[email protected]>
> ---
> drivers/crypto/qat/qat_common/adf_dev_mgr.c | 4 ++--
> drivers/crypto/qat/qat_common/adf_sriov.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt