Received: from eggs.gnu.org ([2001:4830:134:3::10]:42001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQY1I-0005eU-P8 for qemu-devel@nongnu.org; Thu, 29 Jun 2017 07:54:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQY1D-0005Xo-Pa for qemu-devel@nongnu.org; Thu, 29 Jun 2017 07:54:00 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:48660) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQY1D-0005XF-Fx for qemu-devel@nongnu.org; Thu, 29 Jun 2017 07:53:55 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v5TBrf3s080893 for ; Thu, 29 Jun 2017 07:53:52 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 2bd0g8sc8x-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 29 Jun 2017 07:53:51 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 29 Jun 2017 12:53:49 +0100 From: Pu Hou Date: Thu, 29 Jun 2017 13:53:36 +0200 Message-Id: <20170629115336.69632-1-bjhoupu@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH] cryptodev: fix two typos in error message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, arei.gonglei@huawei.com Cc: asic@linux.vnet.ibm.com, BAGRAMOV@de.ibm.com, Pu Hou 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. Reported-by: Timur Bagramov Reviewed-by: Halil Pasic Signed-off-by: Pu Hou --- backends/cryptodev-builtin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/cryptodev-builtin.c b/backends/cryptodev-builtin.c index 657c0ba2f3..4e619dfca8 100644 --- a/backends/cryptodev-builtin.c +++ b/backends/cryptodev-builtin.c @@ -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; } -- 2.11.2