cryptodev: fix two typos in error message
PATCH 1/1 cryptodev: fix two typos in error message
Currently we have the name of the backend 'cryptodev-builtin' misspelled as 'cryptdov-builtin' in two potentially user facing error messages. Let's fix this.
Furthermore The second mention of 'cryptodev-builtin' omits 'backend'. Let's make things consistent by adding it.
--- backends/cryptodev-builtin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
backends/cryptodev-builtin.c +2 -2
@@ -70,7 +70,7 @@ static void cryptodev_builtin_init(if (queues !=1 ) {error_setg (errp, -"Only support one queue in cryptdov-builtin backend" ); +"Only support one queue in cryptodev-builtin backend" );return ; }
@@ -314,7 +314,7 @@ static int cryptodev_builtin_sym_operation(if (op_info->op_type ==VIRTIO_CRYPTO_SYM_OP_ALGORITHM_CHAINING ) {error_setg (errp, -"Algorithm chain is unsupported for cryptdoev-builtin" ); +"Algorithm chain is unsupported for cryptodev-builtin backend" );return -VIRTIO_CRYPTO_NOTSUPP ; }
Signature · 1 line
2.11.2
Gonglei (Arei)
AppliedQuoted 15 lines
-----Original Message-----
From: Pu Hou [mailto:[email protected]]
Sent: Thursday, June 29, 2017 7:58 PM
To: [email protected]; Gonglei (Arei)
Cc: [email protected]; [email protected]; Pu Hou
Subject: [PATCH] cryptodev: fix two typos in error messageCurrently we have the name of the backend 'cryptodev-builtin' misspelled as 'cryptdov-builtin' in two potentially user facing error messages. Let's fix this.
Furthermore The second mention of 'cryptodev-builtin' omits 'backend'. Let's make things consistent by adding it.
Quoted 7 lines
Reported-by Timur Bagramov <[email protected]>Reviewed-by Halil Pasic <[email protected]>Signed-off-by Pu Hou <[email protected]>--- backends/cryptodev-builtin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Queued, thanks.
Regards,
-Gonglei