From nobody Sun Nov 9 12:52:37 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 15512578788215.224525271789162; Wed, 27 Feb 2019 00:57:58 -0800 (PST) Received: from localhost ([127.0.0.1]:40442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyv2I-0008Vy-Rg for importer@patchew.org; Wed, 27 Feb 2019 03:57:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyv0W-0007KO-Tj for qemu-devel@nongnu.org; Wed, 27 Feb 2019 03:56:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyv0W-0007fn-1E for qemu-devel@nongnu.org; Wed, 27 Feb 2019 03:56:04 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:55899) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gyv0V-0007bH-88 for qemu-devel@nongnu.org; Wed, 27 Feb 2019 03:56:03 -0500 Received: by mail-wm1-x344.google.com with SMTP id q187so4982896wme.5 for ; Wed, 27 Feb 2019 00:55:58 -0800 (PST) Received: from kheib-workstation.redhat.com ([192.116.94.220]) by smtp.gmail.com with ESMTPSA id v6sm23961230wrd.88.2019.02.27.00.55.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Feb 2019 00:55:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FopHSllA/hJIE1pkyeGcW7evcqRo66mO6n0qNpC0Omk=; b=cHhsCG1+YdIJ7Uf+0hr5IHMmwJlerJhhSLRrMBPQ/9glAMrecS0KOeN8klUhb5sQ9q VjpIeDoQaTIlc4pqV63auOhFvIljX30jI2xenNrt9kIFi32CS18eJQGNnZxKZSe2fp9c dQPGT0gKURMChhNBa2mLA/osVMjwKbWwSHcLyxZNd13o3pDkfIgLdOYcTBi/AFQv4xGu QlZVo0LpiLmduuQzjDl8+gj2enCB7NDyOn0FczbsjBooo4ya7nzrqIXEWGs0llfPaSaG Fs7J6kS68j1SFZ5i4UI4rlJeCkilAQUknhiFMe9xHPVc1kPUOkKc0sg/Iqm1vV2QF4id pvVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FopHSllA/hJIE1pkyeGcW7evcqRo66mO6n0qNpC0Omk=; b=C0UtvNUXuAYtqaU6CkTSGlwd2mWQqIbIuTpBZyR5zs509LCXRaL9wobOuGnGY1PHeL Yi1MIX2ZnRsN9qPYI0jRvy3kXCQIbdAPYsfT9zo/uso+FNTsMhYv1eY1+ZBzCjMf+z/U RNhbZ42O4SxYQcq9rpoWInhtmdm+tBSncKYx6hYbOjuDUVVAoogdYJfZZfq2XK2QvF7n YMthdZpinEoZC2dXzFsOPPz0Hrlvtnv45aQdoZ7zN+vDKX4cdgthMI4Fau7FJ2pH+PYH 6gXUcRnDblQdVP1SXwQTFUnazsN2tLTfVdev0ml2+VqipcRJzJPY+t/IW3o/yvFXt71R CbCA== X-Gm-Message-State: AHQUAubldnbiIm0+Luk2UtwWbNFFD0GLWVYW03lt2EGouYrAoTocBgdF RofS8CVt78KxFCHnYtSfiiqvxoiY X-Google-Smtp-Source: AHgI3IbXYHcUwTucShZmhXcZBlduZDi9AWsirJS+oacB9oKLxcthqX3tSuks52oPVzVW7OO3ui00xA== X-Received: by 2002:a7b:c0c3:: with SMTP id s3mr1402678wmh.141.1551257757334; Wed, 27 Feb 2019 00:55:57 -0800 (PST) From: Kamal Heib To: qemu-devel@nongnu.org Date: Wed, 27 Feb 2019 10:55:46 +0200 Message-Id: <20190227085546.23690-1-kamalheib1@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::344 Subject: [Qemu-devel] [PATCH] hw/rdma: Fix the error prints in create_qp_rings() 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: Kamal Heib , Yuval Shaia Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" The prints should indicate that we are talking about QP and not CQ. Fixes: 98d176f8e592 ("hw/rdma: PVRDMA commands and data-path ops") Reviewed-by: Yuval Shaia Signed-off-by: Kamal Heib --- hw/rdma/vmw/pvrdma_cmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/rdma/vmw/pvrdma_cmd.c b/hw/rdma/vmw/pvrdma_cmd.c index 21a55e225a61..8bc24e952073 100644 --- a/hw/rdma/vmw/pvrdma_cmd.c +++ b/hw/rdma/vmw/pvrdma_cmd.c @@ -374,13 +374,13 @@ static int create_qp_rings(PCIDevice *pci_dev, uint64= _t pdir_dma, =20 dir =3D rdma_pci_dma_map(pci_dev, pdir_dma, TARGET_PAGE_SIZE); if (!dir) { - rdma_error_report("Failed to map to CQ page directory"); + rdma_error_report("Failed to map to QP page directory"); goto out; } =20 tbl =3D rdma_pci_dma_map(pci_dev, dir[0], TARGET_PAGE_SIZE); if (!tbl) { - rdma_error_report("Failed to map to CQ page table"); + rdma_error_report("Failed to map to QP page table"); goto out; } =20 @@ -393,7 +393,7 @@ static int create_qp_rings(PCIDevice *pci_dev, uint64_t= pdir_dma, sr->ring_state =3D (struct pvrdma_ring *) rdma_pci_dma_map(pci_dev, tbl[0], TARGET_PAGE_SIZE); if (!sr->ring_state) { - rdma_error_report("Failed to map to CQ ring state"); + rdma_error_report("Failed to map to QP ring state"); goto out_free_sr_mem; } =20 --=20 2.20.1