From nobody Mon Feb 9 06:34:08 2026 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 1552747594944695.026005562907; Sat, 16 Mar 2019 07:46:34 -0700 (PDT) Received: from localhost ([127.0.0.1]:42727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5AZw-0002AH-Vn for importer@patchew.org; Sat, 16 Mar 2019 10:46:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5AOq-0001An-WC for qemu-devel@nongnu.org; Sat, 16 Mar 2019 10:35:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5AOp-0000n7-LV for qemu-devel@nongnu.org; Sat, 16 Mar 2019 10:35:00 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:40517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h5AOn-0000le-Ex for qemu-devel@nongnu.org; Sat, 16 Mar 2019 10:34:59 -0400 Received: by mail-wm1-x32d.google.com with SMTP id u10so6075304wmj.5 for ; Sat, 16 Mar 2019 07:34:57 -0700 (PDT) Received: from localhost.localdomain ([176.228.155.165]) by smtp.gmail.com with ESMTPSA id l8sm7518895wrv.45.2019.03.16.07.34.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 16 Mar 2019 07:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZzBW0WtMUkYOhea/5pAcRQXq89RHRcqinryjR4yMX3w=; b=USCIvSdg96va3RsJ9jZ6xTbMX6ssS0r+WFff2hj+cP3TZbEG3v1Rtm5hZGhl4mUe+V 8moup96zUNeV9KfxFRT26ouohoIsIc2vep4owizatZctGSi45DRP64O/COm8L3JoJiW9 hyJJiB8hHkdl1TW83oqiXVvbB1/mvDvYy9cptINdDIhulOI3/vnOuGA3IeI3I/6ACWUi 7hdKMFyFOwRIZewAUi7FIRbZbBm+KwwlcRhDSw1XiGQNAElKCODzPY8PZACz8VqFUAlD JUcZm8khR+CMl/g/SnI5wOsllIKnwcJL5T+BZeK1ExM+Xm28ASpaHLHLougO8OiZKsz3 8R6w== 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:in-reply-to :references; bh=ZzBW0WtMUkYOhea/5pAcRQXq89RHRcqinryjR4yMX3w=; b=O0ad7DDZM1qz5YeGcigGnRp8NVzpgN2OwDGDc3GJBM4EDNw7N1ZbX4Yph3Kgl3/nok keCebC+cFEU5wszzmKKrdQCCwkTf+40PvAov8qkEpWOxzW6xxIuZm5ru8JyJqtAb5d7F I2glJ/WJS2PlxrpWqe0Fe2xBddrv8THc93wYkxv0HOYq2W2XFSeDhuuFal0Ead39s/nh 3dwO0SiXroHh+HHJW9ZIe1vaZIX1hnanl712ibJjpKGcQadaiG3Sk1L+rUEdIiPIG90W 8QHvX+0uLkfgLob/exSRJ114YzxOaxffnz76ZfCCHyf472u4s5LfNHom09aUnm5mfUon vzxw== X-Gm-Message-State: APjAAAURdzBTDn1tbGNKpFJTveuRUY8OQ0RTxJZaKeoRYA/DA0MPnq0E eIY2UyvgarkY2co55AuKbYCMIoPn X-Google-Smtp-Source: APXvYqxkX8SX3nkQM9RJLAbSUEORG4uwQDctQq37Gsox8Ie9aMq2bqMDhsyfS+NqvZQaFlG/z2ehkw== X-Received: by 2002:a1c:e71a:: with SMTP id e26mr4208413wmh.111.1552746896002; Sat, 16 Mar 2019 07:34:56 -0700 (PDT) From: Marcel Apfelbaum To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Sat, 16 Mar 2019 16:34:21 +0200 Message-Id: <20190316143421.8194-19-marcel.apfelbaum@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190316143421.8194-1-marcel.apfelbaum@gmail.com> References: <20190316143421.8194-1-marcel.apfelbaum@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32d Subject: [Qemu-devel] [PATCH PULL 18/18] 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: philmd@redhat.com, kamalheib1@gmail.com, yuval.shaia@oracle.com, dgilbert@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Kamal Heib 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 Message-Id: <20190227085546.23690-1-kamalheib1@gmail.com> Signed-off-by: Marcel Apfelbaum --- 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 be8c2b61c9..4afcd2037d 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.17.1