Commit ec0d6fa3 authored by Ahsan Atta's avatar Ahsan Atta Committed by Herbert Xu

crypto: qat - Fix typo othewise->otherwise

Signed-off-by: default avatarAhsan Atta <ahsan.atta@intel.com>
Signed-off-by: default avatarTadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 13dd7bee
...@@ -206,7 +206,7 @@ static struct pci_error_handlers adf_err_handler = { ...@@ -206,7 +206,7 @@ static struct pci_error_handlers adf_err_handler = {
* QAT acceleration device accel_dev. * QAT acceleration device accel_dev.
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_enable_aer(struct adf_accel_dev *accel_dev, struct pci_driver *adf) int adf_enable_aer(struct adf_accel_dev *accel_dev, struct pci_driver *adf)
{ {
......
...@@ -123,7 +123,7 @@ static const struct file_operations qat_dev_cfg_fops = { ...@@ -123,7 +123,7 @@ static const struct file_operations qat_dev_cfg_fops = {
* The table stores device specific config values. * The table stores device specific config values.
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_cfg_dev_add(struct adf_accel_dev *accel_dev) int adf_cfg_dev_add(struct adf_accel_dev *accel_dev)
{ {
...@@ -276,7 +276,7 @@ static int adf_cfg_key_val_get(struct adf_accel_dev *accel_dev, ...@@ -276,7 +276,7 @@ static int adf_cfg_key_val_get(struct adf_accel_dev *accel_dev,
* in the given acceleration device * in the given acceleration device
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_cfg_add_key_value_param(struct adf_accel_dev *accel_dev, int adf_cfg_add_key_value_param(struct adf_accel_dev *accel_dev,
const char *section_name, const char *section_name,
...@@ -327,7 +327,7 @@ EXPORT_SYMBOL_GPL(adf_cfg_add_key_value_param); ...@@ -327,7 +327,7 @@ EXPORT_SYMBOL_GPL(adf_cfg_add_key_value_param);
* will be stored. * will be stored.
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_cfg_section_add(struct adf_accel_dev *accel_dev, const char *name) int adf_cfg_section_add(struct adf_accel_dev *accel_dev, const char *name)
{ {
......
...@@ -60,7 +60,7 @@ static uint32_t num_devices; ...@@ -60,7 +60,7 @@ static uint32_t num_devices;
* Function adds acceleration device to the acceleration framework. * Function adds acceleration device to the acceleration framework.
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_devmgr_add_dev(struct adf_accel_dev *accel_dev) int adf_devmgr_add_dev(struct adf_accel_dev *accel_dev)
{ {
......
...@@ -69,7 +69,7 @@ static void adf_service_add(struct service_hndl *service) ...@@ -69,7 +69,7 @@ static void adf_service_add(struct service_hndl *service)
* Function adds the acceleration service to the acceleration framework. * Function adds the acceleration service to the acceleration framework.
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_service_register(struct service_hndl *service) int adf_service_register(struct service_hndl *service)
{ {
...@@ -94,7 +94,7 @@ static void adf_service_remove(struct service_hndl *service) ...@@ -94,7 +94,7 @@ static void adf_service_remove(struct service_hndl *service)
* Function remove the acceleration service from the acceleration framework. * Function remove the acceleration service from the acceleration framework.
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_service_unregister(struct service_hndl *service) int adf_service_unregister(struct service_hndl *service)
{ {
...@@ -114,7 +114,7 @@ EXPORT_SYMBOL_GPL(adf_service_unregister); ...@@ -114,7 +114,7 @@ EXPORT_SYMBOL_GPL(adf_service_unregister);
* Initialize the ring data structures and the admin comms and arbitration * Initialize the ring data structures and the admin comms and arbitration
* services. * services.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_dev_init(struct adf_accel_dev *accel_dev) int adf_dev_init(struct adf_accel_dev *accel_dev)
{ {
...@@ -214,7 +214,7 @@ EXPORT_SYMBOL_GPL(adf_dev_init); ...@@ -214,7 +214,7 @@ EXPORT_SYMBOL_GPL(adf_dev_init);
* is ready to be used. * is ready to be used.
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_dev_start(struct adf_accel_dev *accel_dev) int adf_dev_start(struct adf_accel_dev *accel_dev)
{ {
...@@ -276,7 +276,7 @@ EXPORT_SYMBOL_GPL(adf_dev_start); ...@@ -276,7 +276,7 @@ EXPORT_SYMBOL_GPL(adf_dev_start);
* is shuting down. * is shuting down.
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_dev_stop(struct adf_accel_dev *accel_dev) int adf_dev_stop(struct adf_accel_dev *accel_dev)
{ {
......
...@@ -463,7 +463,7 @@ static int adf_init_bank(struct adf_accel_dev *accel_dev, ...@@ -463,7 +463,7 @@ static int adf_init_bank(struct adf_accel_dev *accel_dev,
* acceleration device accel_dev. * acceleration device accel_dev.
* To be used by QAT device specific drivers. * To be used by QAT device specific drivers.
* *
* Return: 0 on success, error code othewise. * Return: 0 on success, error code otherwise.
*/ */
int adf_init_etr_data(struct adf_accel_dev *accel_dev) int adf_init_etr_data(struct adf_accel_dev *accel_dev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment