From nobody Sun May 19 17:58:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1498744837835765.6108605865861; Thu, 29 Jun 2017 07:00:37 -0700 (PDT) Received: from localhost ([::1]:39554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQZzm-0001kA-GI for importer@patchew.org; Thu, 29 Jun 2017 10:00:34 -0400 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 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 29 Jun 2017 12:53:48 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v5TBrlAT41484382; Thu, 29 Jun 2017 11:53:47 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EC30E52049; Thu, 29 Jun 2017 11:50:18 +0100 (BST) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id DB2D852045; Thu, 29 Jun 2017 11:50:18 +0100 (BST) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 5557) id 5441820F67C; Thu, 29 Jun 2017 13:53:47 +0200 (CEST) From: Pu Hou To: qemu-devel@nongnu.org, arei.gonglei@huawei.com Date: Thu, 29 Jun 2017 13:53:36 +0200 X-Mailer: git-send-email 2.11.2 X-TM-AS-GCONF: 00 x-cbid: 17062911-0040-0000-0000-000003B7351C X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17062911-0041-0000-0000-000025B1345D Message-Id: <20170629115336.69632-1-bjhoupu@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-29_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706290195 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 148.163.156.1 X-Mailman-Approved-At: Thu, 29 Jun 2017 09:54:05 -0400 Subject: [Qemu-devel] [PATCH] cryptodev: fix two typos in error message X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pu Hou , BAGRAMOV@de.ibm.com, asic@linux.vnet.ibm.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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( =20 if (queues !=3D 1) { error_setg(errp, - "Only support one queue in cryptdov-builtin backend"); + "Only support one queue in cryptodev-builtin backend"); return; } =20 @@ -314,7 +314,7 @@ static int cryptodev_builtin_sym_operation( =20 if (op_info->op_type =3D=3D VIRTIO_CRYPTO_SYM_OP_ALGORITHM_CHAINING) { error_setg(errp, - "Algorithm chain is unsupported for cryptdoev-builtin"); + "Algorithm chain is unsupported for cryptodev-builtin backe= nd"); return -VIRTIO_CRYPTO_NOTSUPP; } =20 --=20 2.11.2